C_63 Strings in C-part 2 | Read a String using scanf and gets function

Поділитися
Вставка
  • Опубліковано 6 січ 2025

КОМЕНТАРІ • 528

  • @sarangbhasme4205
    @sarangbhasme4205 2 роки тому +15

    when you're teaching one good thing is your face is smiley it makes us happy. and felt like that nothing is impossible in life. Thank You So Much.

  • @giteshzemse2087
    @giteshzemse2087 2 роки тому +38

    I'm very fortunate i found your UA-cam channel. You're a very scholar, talented woman. You tells so many good things to be a programmer. While you're a programmer, it's my dream to become one and your channel is a blessings for me.

  • @aparnamane4899
    @aparnamane4899 2 роки тому +157

    string is not a data type in c but it is array of character in c and format specifier for string is %s.

  • @nikitachaurasia11
    @nikitachaurasia11 3 роки тому +319

    Strings are not data type they are arrays of characters.

  • @Faithonurself
    @Faithonurself 3 місяці тому +4

    Ur teaching is next level and now I am thinking about ur teacher who teaches u like this

  • @sudhirchaudhary2936
    @sudhirchaudhary2936 2 роки тому +5

    Mam you don't have to be uncomfortable in telling that your channel is the best channel.ofcourse your channel is the best channel..lots of love from Nepali students mam🇳🇵

  • @benspencer7491
    @benspencer7491 2 роки тому +21

    11:39 best moment of lecture

  • @delllaptop519
    @delllaptop519 3 роки тому +6

    11 : 40 That Smile Kill Me Alredy And Now I Am Waiting For Anthor Smile 😊

  • @Sohail_nagori
    @Sohail_nagori 3 роки тому +28

    omaagodd ,Your smiling face 😊and great way of teaching ☺️🤩

    • @kmanish2528
      @kmanish2528 2 роки тому

      Really that smile in man's face is really 😍🥰

  • @mq4950
    @mq4950 3 роки тому +1

    I have subscribed your channel and I used to come to see your daily vedios as your smile and beauty is superb and lovingly❤💖💖💖💖

  • @techieadi4377
    @techieadi4377 3 роки тому +11

    The C language doe
    s not provide an inbuilt data type for strings but it has an access specifier “%s” which can be used to directly print and read strings. You can see in the above program that string can also be read using a single scanf statement.

    • @itz__ahana_
      @itz__ahana_ 2 роки тому +1

      Bro pls help......
      Why we are not writing scanf("%s",&name)????
      Instead of scanf("%s",name)
      But in other programs we use &name
      Why we are not writing address of ....

    • @prithwihegde349
      @prithwihegde349 Рік тому

      @@itz__ahana_ because string is a internal pointer which is pointing to base address of zerothindex of array

    • @Logan-ig7sm
      @Logan-ig7sm Рік тому

      ​@@prithwihegde349but bhai array mai jo array name hota hai bo bhi to internal pointer hota hai uske pass bhi base address hota hai usme to use krna pdta hai &operator why?

  • @erasamani2693
    @erasamani2693 10 місяців тому +1

    very good understanding seeing your videos more helpful

  • @ganeshghantasala2679
    @ganeshghantasala2679 Рік тому +2

    Your English is very clear to understand
    Thank you for your wonderful explanation

  • @shuvamsahoo1130
    @shuvamsahoo1130 3 роки тому +3

    I was also teaching students on coaching ❤👍but your presentation is more student friendly mam

  • @mahendrab.k7278
    @mahendrab.k7278 Рік тому +1

    Mam your smile literally made me fall in love with you ❤❤❤.
    Love and support from Nepal 🇳🇵🇳🇵🇳🇵🇳🇵🇳🇵🇳🇵🇳🇵🇳🇵🇳🇵

  • @siddhianand3646
    @siddhianand3646 2 роки тому +22

    No, string is not consider as a data type in C but it represents as a character array in C.

  • @JKA-sf7ll
    @JKA-sf7ll 3 роки тому +6

    constant string will be in code segment (compile time)
    modificable string will be in stack (runtime)

  • @prabhagupta2929
    @prabhagupta2929 2 роки тому +1

    Mam I was learning c from any other creator but I switched to your lectures as those lectures was not explained in detail,
    Btw loving your way of teaching.

  • @Apshorts2123
    @Apshorts2123 3 роки тому +10

    string is not a datatype in c but it is considered as an array of characters.
    It is a specific type of array whose datatype is always char.

  • @rockstareditz4690
    @rockstareditz4690 3 роки тому +16

    😂😂
    Ma'am , straight to the point
    99% come to see you nd 1% come to learn
    But the thing is everyone at the end of the day
    Ur classes make us learn more nd more , u r lectures , topics u teach nd everything is super
    I only wonder in how we started learning soo muchfrm u r class though it is not our purpose
    Thank u soo much for the valuable classes nd u can ask every btech student who got backlog in c , nd placement Preparation playlist is dope

  • @story-tamil
    @story-tamil 2 роки тому +2

    Very nice your explanation is 👌👌👌Thanks 😊

  • @obsgaming231
    @obsgaming231 2 роки тому

    Your voice 🌹,smile 🌹 &teaching 🌹
    I'm ur fan 💖

  • @hakimabahnu7722
    @hakimabahnu7722 2 роки тому +1

    thank u soo much mam lots of love and respect from ladakh..😊🤗

  • @jaga4123
    @jaga4123 Рік тому

    Mam you are the best programming teacher mam , love you mam❤❤❤

  • @funworld3530
    @funworld3530 2 роки тому +7

    No, string is not a specific datatype in c like int , float , char , but string can be defined as a character array in c.

    • @itz__ahana_
      @itz__ahana_ 2 роки тому

      Bro pls help......
      Why we are not writing scanf("%s",&name)????
      Instead of scanf("%s",name)
      But in other programs we use &name
      Why we are not writing address of ....

  • @talhashah3986
    @talhashah3986 2 роки тому +24

    String is not a data type in C
    But string is a data type in C++

  • @vishalborate9608
    @vishalborate9608 2 роки тому +2

    string is a character array, which is a known for a sequence of multiple characters ended by a special character null (\0) and its format specifier is %s

  • @ՏGAMING-h9l
    @ՏGAMING-h9l 2 роки тому

    When you say right word on that time my heart was melting

  • @iAmAjayTeli
    @iAmAjayTeli 2 роки тому +3

    Mam you bring smile to our face
    You are a great teacher ❤️❤️❤️ with great smile on your face 😁😁
    Your teaching style is almostly differ from others

  • @arsh2228
    @arsh2228 2 роки тому +1

    mam u are such an inspiring personality

  • @gowthamireddy8604
    @gowthamireddy8604 Рік тому

    U r super maam u r explaining like wow.....

  • @kanchupatihemanth8216
    @kanchupatihemanth8216 2 роки тому +3

    Hi mam thank you for telling these class and your class are most useful for diploma 1st year students in Telangana and small request mam try to explain in telugu.

  • @Official_somanath
    @Official_somanath Рік тому

    11:40 .. Haye main margaya ..❤❤

  • @AmitGupta-yy3ls
    @AmitGupta-yy3ls 7 місяців тому

    Your smile is more confusing rather than your teaching😅 But thanku so much mam🎉❤

  • @rohanpatil1834
    @rohanpatil1834 3 роки тому +1

    Dii thanku for your lectures and I really really adore you for that. Thanku Di.😄💯

  • @Shawaz11
    @Shawaz11 3 роки тому

    Good evening mam and mam you are best mentor and you are a actor 🤗 very quit quit moments. In everytime. 🤗

  • @PramodKumar-qz9ex
    @PramodKumar-qz9ex Рік тому

    I fall love with c mam💕💕

  • @Nikhilrao354
    @Nikhilrao354 3 роки тому +2

    I am completed my 12 , when I search theorem of class 9 of my brother so I am find your vedio , and I am addicted your vedio 🤭

  • @thecoding_cat21
    @thecoding_cat21 Рік тому +1

    If you want to enter strings with spaces you can use "%[^
    ]" this format specifier instead of %s. It will allow you to enter strings with white spaces as input. Please inform me if I am wrong 🤔.

    • @niraj.chaurasiya
      @niraj.chaurasiya Рік тому

      Verily, thou art righteth.

    • @AaditShah-q2r
      @AaditShah-q2r 2 місяці тому

      But you have to remember this specifier for scanf and gets is way easy

  • @Recon-ng400
    @Recon-ng400 3 роки тому

    mam, i am from Bangladesh.you are best teacher in youtube.

  • @36-muhammedshahinp64
    @36-muhammedshahinp64 Рік тому

    your class is perfect. also your smile keep it your smail

  • @mohdakramkhan4392
    @mohdakramkhan4392 2 роки тому +7

    String is not a data type in c.It is 1 D array of character.

  • @gamingwithteddy7019
    @gamingwithteddy7019 Рік тому

    I fall love with c language 🥰😂❤

  • @sachinghuge6194
    @sachinghuge6194 3 роки тому

    just want to say "you are the best "

  • @lakshmanlakshman9031
    @lakshmanlakshman9031 Рік тому +2

    Not a datatype in C it is a array of character

  • @srikaryenugula
    @srikaryenugula Рік тому +1

    Srikar diploma in ec is also watching your videos!

  • @NU_SudeepaPatnaikpakki
    @NU_SudeepaPatnaikpakki 3 роки тому +4

    Mam...we can print entire string along with space using scanf......please use this format...
    Scanf("%[^
    ]s",str);
    This statement reads the input until newline occurs....

  • @Vijayee
    @Vijayee 3 роки тому +3

    String is not data type, String is constant of character and enclosed character in double quotes

  • @yadavsnair
    @yadavsnair 3 роки тому +1

    500k loading 😍😍

  • @kallugaming1k
    @kallugaming1k Рік тому

    Mam ap ki muskurahat bhut payari h
    ❤❤❤❤

  • @MSai-wc8rv
    @MSai-wc8rv 10 місяців тому +1

    string is not a data type in c but it is array of charecter in c and format specifier for string is %s

  • @yashhokte1020
    @yashhokte1020 3 роки тому +2

    String is not a data type we can considered string as the character arrays or it is an array of characters which is ended with the null character ('\0')..
    But the format specifier which is used to print the whole string is %s

  • @debojitacharjee
    @debojitacharjee 2 роки тому +4

    *FOR STRINGS WE SHOULD USE FOR LOOP TO AVOID THE BUFFER OVERFLOW* - initializing the array directly using scanf or gets is not a standard rule and are not for using with strings but only with characters using for loops

  • @madhavisinha6350
    @madhavisinha6350 3 роки тому +2

    Mam you are perfect teacher 😘😘😘😘

  • @save_earth123
    @save_earth123 2 роки тому +1

    After reading comments and watching ur videos ...I can say ..People are not interested in ur explanation mam.....they are interested in some other things 😂😂

  • @rajeshnayak3964
    @rajeshnayak3964 День тому

    Strings are data structures that are used to store "textual data" in double quotes (" ");

  • @zubairbanaqib
    @zubairbanaqib 3 роки тому +1

    Thank you so much ma'am
    👍👍👍🙏🙏🙏

  • @nomuladivya3160
    @nomuladivya3160 2 роки тому +1

    Stings are not datatypes they are array of characters and we explicitly declare it as char

  • @rajurastogi6393
    @rajurastogi6393 2 роки тому

    Best lecture no confusion ❤️❤️

  • @THETHIRDEYEjoji
    @THETHIRDEYEjoji 2 роки тому +1

    Hello Madam I have a question; In vscode how do I set the cursor to move down to the terminal each time I tap the enter button and I need to input some values especially when using scanf or gets. I find it cumbersome to have to move the cursor down manually all the time.

  • @anesp.a913
    @anesp.a913 2 роки тому +1

    I hope you are my teacher in 2003 boring classes of Engg college...

  • @rohitmodi9169
    @rohitmodi9169 2 роки тому +1

    It is not a data type ,it will only take the character values

  • @keerthanas5634
    @keerthanas5634 2 роки тому +1

    No string is not a datatype it is used in header files #include

  • @devanshshrimali2125
    @devanshshrimali2125 2 роки тому +2

    No stings is a not a data type in C. It is a array of characters.

  • @gayatriborade9556
    @gayatriborade9556 3 роки тому +5

    string is not a datatype in c but it is a character array which ends with \0

  • @akhilmittal3283
    @akhilmittal3283 3 роки тому +2

    you are superb mam

  • @laxmikantbotkewar4191
    @laxmikantbotkewar4191 2 роки тому

    we can use scanf( "%[^
    ]s" , name) it will fetch till new line character.

  • @BellamSai-z3o
    @BellamSai-z3o 28 днів тому +1

    scanf("%[^
    ]",str); // it will consider spaces in latest c

  • @chandan-x3n
    @chandan-x3n 5 місяців тому

    string is not a data type. but it is a sequence of character terminated with null character.

  • @devSackey
    @devSackey Рік тому +1

    In c programming a string is not considered as a datatype but an array of characters (char)

  • @A.KSTUDIO755
    @A.KSTUDIO755 Рік тому +1

    No strings are not data types. It is array which is terminated by null character

  • @PranathiBendalam
    @PranathiBendalam 4 місяці тому

    String is not a data type..but we can represent it as a character array.

  • @b.jnanendravarma1636
    @b.jnanendravarma1636 Рік тому +1

    In C , string is a character of array but not a data type

  • @Striver15
    @Striver15 Рік тому

    11.39 😊 smile garbage value...

  • @vigneshk9598
    @vigneshk9598 2 роки тому

    madam your teaching is good

  • @arindamroy5681
    @arindamroy5681 Рік тому +1

    String is not a data types in c language but string is the character array

  • @surendrayte
    @surendrayte Місяць тому

    String is not a datatype but it can treat as user defined data type

  • @daughter_of_chitkute0611
    @daughter_of_chitkute0611 Рік тому +1

    No there is not such datatype called string in C so we use array of characters to represent it as a string.

  • @karumuripavanveeravenkataramak

    No strings are not data types because "string":array of characters 😊😊

  • @SruthiRathod-m6c
    @SruthiRathod-m6c Місяць тому +2

    String is not a datetype madam. it is cheacter in C

  • @VinjamRajesh-vu9px
    @VinjamRajesh-vu9px 11 місяців тому +1

    string is not a data type in c but we can represent it with "char" data type is "%s".

  • @manjulabhajantri-q1q
    @manjulabhajantri-q1q Рік тому +1

    No,string is not a datatype. But it is a character set of array

  • @Tejash_Gohel
    @Tejash_Gohel 3 роки тому

    aapke lecture me apnapan feel hota he

  • @shanthakumarshanthu3928
    @shanthakumarshanthu3928 Рік тому +1

    String is not a data type in c programming
    It is a collection of characters

  • @vivekgajara8418
    @vivekgajara8418 3 роки тому +3

    Mam there is no data type for string. There is just a format specifier %s to print string

  • @varaprasadb4430
    @varaprasadb4430 3 роки тому

    Excepting a heart from you mam
    Anyway thank you for your efforts

  • @thenarrator5031
    @thenarrator5031 3 роки тому

    Iam your new subscriber ma'am... :)

  • @taneerumadhu2754
    @taneerumadhu2754 3 роки тому

    Mam I love your teaching

  • @rapakalokesh8449
    @rapakalokesh8449 Рік тому

    take care maam have a great day maam 😉😉

  • @shivendra3019
    @shivendra3019 3 роки тому +2

    String is an array of characters in C but it is not an explicit datatype unlike in Java and other programming languages etc.

    • @nileshbhaskar9010
      @nileshbhaskar9010 3 роки тому

      String is a class in java, not primitive data type

    • @shivendra3019
      @shivendra3019 3 роки тому +1

      @@nileshbhaskar9010 It is a Class Type and not Wrapper as it does not have a parallel primitive type.

    • @nileshbhaskar9010
      @nileshbhaskar9010 3 роки тому

      @@shivendra3019 no it's not

  • @himanshu-x8s6b
    @himanshu-x8s6b 2 місяці тому

    thank you mam ji

  • @kwameanati
    @kwameanati Рік тому +4

    String is not a data type.

  • @AsifRaza-tc8kt
    @AsifRaza-tc8kt 2 роки тому +2

    string is not a datatype in C. It is the character array in C

  • @programmer1682
    @programmer1682 Рік тому +2

    String is not a data type it is character type.

  • @chaitralinaidu8019
    @chaitralinaidu8019 2 роки тому +2

    NO String is not datatype but it is array of characters

  • @a.n.s.arjun.chaanel6834
    @a.n.s.arjun.chaanel6834 Рік тому +1

    Strings are not a data type in c they are charector of an array

  • @sunnyjaiswal7746
    @sunnyjaiswal7746 2 роки тому +1

    NO, string is not a seprate datatype in C but it used as character datatype in C

  • @LE-Anjali
    @LE-Anjali Рік тому +1

    No,string is not a data type in c.but it gives array of character.

  • @anujeetkunturkar780
    @anujeetkunturkar780 3 роки тому +3

    2:15 Lecture Started

    • @yashhokte1020
      @yashhokte1020 3 роки тому

      So what happened?
      She also has her lyf 😑 she did many things for us that the persons who doesn't get education cuz of some financial reason so they can get easily, so we can't do Juz a lil thing for her? She also have to run her home n? Bro why uh commented like this, she will get upset after reading this type of comment,, she deserves everything plz support her not demotivate her...
      Mam I'm forever in ur support keep it up god will bless uh always 😊

    • @neeln7_147
      @neeln7_147 2 роки тому

      @@yashhokte1020 💯💯⏫♥️

  • @Kaiffithit
    @Kaiffithit 5 днів тому

    String is arrays of character