C_66 Program to Find Length of a String | C Programming Language

Поділитися
Вставка
  • Опубліковано 22 гру 2024

КОМЕНТАРІ • 153

  • @THR17
    @THR17 3 роки тому +62

    I have never thought that a youtuber would seriously have an impact on my Data Structures... *"THANKS ALOT MA'AM* 🙏🏼

  • @baibhavrajkumar418
    @baibhavrajkumar418 2 роки тому +16

    #include
    #include
    int main(){
    char str[60]="Mam you look soo beautiful"
    gets(str);
    printf("%s,str);
    return 0;
    }

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

      😄

    • @KrishnaGupta-yc3jd
      @KrishnaGupta-yc3jd 8 місяців тому +6

      Mam would be sad on your mistakes....gets is used as scanf, so why do you are using it as you aren't taking input from the user?

    • @lifemalayalamyoutube7192
      @lifemalayalamyoutube7192 5 місяців тому +1

      Why are people obsessed with her looks, just be obsessed with her knowledge and kindness to help us. She also expect it only from us🙏🏾

  • @jenniferm.9666
    @jenniferm.9666 2 роки тому +10

    Best UA-cam C-Programming teacher! :D

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

    Awesome Mam ....I m from Mechanical Domain and I have move to IT ...your vedios are helping me a lot to clear my concept

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

    Interview tip::
    we use for loop when we know value of n
    we use while loop when are not sure about value of n

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

      Thanks 🦅❤

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

      @@manojrajput9930 kyu ji while mai vi toh condition check hoti hai .. .. ..

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

    Thanks mam.
    Plz complete this C language series mam. These are very helpful. And I want to start DSA after this.

  • @katamabhishek8844
    @katamabhishek8844 3 роки тому +15

    We want notes mam for c language it is so helpful for us and congratulations for 500k 😍🎉🎉🎉🎉

  • @freddjefferson9612
    @freddjefferson9612 2 роки тому +11

    Hello Ma'am.
    Thanks very much for your brilliant ideas. I really do appreciate your efforts.😊😊
    But there's this small worry I got last week that I'll like to share with you. I was asked to read strings each seperated by a space.
    And the word "STOP" marks the end of the string

  • @MohammedIbrahim-eu1mk
    @MohammedIbrahim-eu1mk 3 роки тому +3

    Mam keep going on mam soon 1 million ki family banne waleeeho

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

    Mam, since you are taking an int main(), so you should return some integer value to the compiler.Nice lecture

  • @Ijk-tb7wf
    @Ijk-tb7wf 8 місяців тому +1

    9:38 mam for loop is better then other 2 loop

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

    Skip 1:26 to 3:04.

  • @மின்விரிதாள்_விரிப்போம்_வாங்க

    Back to the basics! Nice explanation. Do we need two variables count and i? Why can't we use single variable?

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

      not need, we can use only count or i 🙂

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

      So that the next one can distinct the usage of count and i clearly.. as if you only use i, then it may cause confusion

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

    a data scientist from kenya🖐you teach better than my lec mam

  • @GamaSingh-s1b
    @GamaSingh-s1b 4 дні тому

    Awesome explanation

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

    thanks mam, smile & punches missing in vdo, i saw mostly all, u r so professional

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

    Mam your videos are really helpful and I really want you to please cover all the topics of c with some programs in the same way as you have done in array,strings
    One thing more after C completion pls upload 2-3 video of simple project in C.

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

    Your video is very helpful mam. Your videos helped to find reason of every word showing on the screen.
    I have seen many videos but no one nor my teacher really explains about how characters, digits are stored in memory or about index value. Mam, please upload some video of java also.

  • @kerooribharath9524
    @kerooribharath9524 20 днів тому

    Mam you said we can use all theloop but only for, while . If we use do while it wile give error ex when we give o characters also it will printf one time. it is an exit control loop

  • @sigmainfinity5475
    @sigmainfinity5475 7 місяців тому

    Tomorrow my exam and now I'm doing 7 th assignment from your lecture.... thanks 🙏 mam ❤

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

    Main point for mam she doesn't tell to like their video and not tell subscribe her channel.... it's good thing to compare of other channel.

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

    It's Very useful ☺☺

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

    Man can you take classes on interview preparation data structures Algorithms as well please ?

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

    Ma'am gets() is removed from the library. How to use fgets()?

    • @sonakshiindu1485
      @sonakshiindu1485 13 днів тому

      @@leonelmessi3010 fgets(char *str, sizeof(*str),stdin)

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

    Hello ma'am, can you upload all lectures in 2-3 days. Because my data structure & algorithm classes start from 3 August and requirements C language. So I humble request you.

  • @ss-li4mg
    @ss-li4mg 3 роки тому +2

    Awesome class

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

    ma'am please make a vedio on string functions like strtok,strnlen ,strncmp.

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

    In case if length of the string is 100000000000 ,then loop will have to run length times and performance will be worst .
    Can't we loop till string length by 2 and for each iteration we swap with last and first element ,and foe next iteration we swap first+I with last-i.
    This way we have to loop only length/2 and using swaping string will be reversed .
    Next variant is we can use stack to reverse the string as stack is very fast coz it's maintained in main memory so it may up the performance than both approach .

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

    Ma'am can you please teach Recursion of function in C

  • @simon-gh1pt
    @simon-gh1pt Рік тому +1

    #include
    int main(){
    char name[10];
    printf("enter name:
    ");
    gets(name);
    int x=printf("%s
    ",name);
    printf("%d
    ",x);
    printf("Thank you %c",(char)2);
    return 0;
    }
    / * you can try this * /

  • @gurueducationandmotivation8140

    Mam You Are Great Mam , Thank YOU so MUCH mam , Even I am Biology Student , I can Understand programming, its all Because of You
    THANK YOU MAM
    KEEP ROCKING MA'AM

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

    Thanks for your efforts mam

  • @Saivarun-wc3oe
    @Saivarun-wc3oe 2 місяці тому

    mam i am not able to use 'gets' in online compilers but it works on vs studio

  • @AnkithaGk-l2m
    @AnkithaGk-l2m Рік тому +1

    Thank u so much mam

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

    The program "With our own logic" could be simplified. Since the variables count and i have always the same value, using only one of the variables would be enough.
    int main()
    {
    int i = 0;
    char name[30];
    printf("Enter name: ");
    gets(name);
    while(name[i] != '\0')
    {
    i++;
    }
    printf("The length of the string is: %d", i);
    }

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

      I too thought that

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

      @@thilakparamasivan8409 I think she know that but made it with two var make it easy to understand the index

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

    what if there is space between jay anti but still i want the output of string length as 7 is it possible mam??

  • @ParamitaDey-bi1mg
    @ParamitaDey-bi1mg 3 роки тому

    17:09 if we use puts() function then why we are using gets() function ?? PLEASE REPLY

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

      puts( ) is for printing the string and gets( ) is for getting the input from user

    • @ParamitaDey-bi1mg
      @ParamitaDey-bi1mg 3 роки тому

      @@ganeshmahajan8695 Thanks for solving my doubt

    • @ParamitaDey-bi1mg
      @ParamitaDey-bi1mg 3 роки тому

      @@ganeshmahajan8695 I cannot understand the use of null pointer .. If we use null pointer then also if program is crashing then why to initialize ptr with null pointer ? Can you say me this ans

    • @higgsboson67
      @higgsboson67 10 місяців тому

      @@ParamitaDey-bi1mg Did u get the answer?? 😒

    • @ParamitaDey-bi1mg
      @ParamitaDey-bi1mg 10 місяців тому

      @@higgsboson67 I don't know exact answer but I think null pointer is used so that we can check whether program can run or not

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

    Jo without user-defined function se wount krne wala tha....usme count ko q increment kiya gya haa ??? Koi batao i ka increment samaj mei aaya

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

    Perfect teacher doesn't exi.. 🙄

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

    Hello ma'am please make video on bitmasking in c

  • @Ijk-tb7wf
    @Ijk-tb7wf 8 місяців тому

    Thank you mam 😊

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

    Madam please do video about string length using call by address

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

    can anyone help me telling how to use for loop and do-while loop in this code?

  • @MDJAKIR-qj8ri
    @MDJAKIR-qj8ri 3 роки тому +2

    Very good

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

    thankyou ma'am 🙏

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

    Can canyone tell me while we use puts() in place of gets(). It is not printing lenght of string and it is printing any other string that I had not entered in input

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

    Mam...will u plz explain why do we use null character in string!?..
    Like u told u will explain 😅
    And fgets function also!

    • @kabirsarohe5166
      @kabirsarohe5166 11 місяців тому

      Just Because to terminated the string .
      If we are not using null, then some garbage value will be shown in output

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

    mam,how can the string use in function?
    how to pass the array in function?

  • @RAHULKUMARSINGH-qp9mc
    @RAHULKUMARSINGH-qp9mc 3 роки тому

    Came to say I love you mam.. I am NULL .. Need a next or may be both pointers..

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

    Ma'am, make a program to count the frequency of character in a string !

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

    Upload daily 5 videos mam, I don't have time, next year I will start one startup company

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

    Lot's of love and blessings from shraddha.
    Ma'am if possible will you please make video on how to install ide.

  • @Proudmuslim32
    @Proudmuslim32 11 місяців тому

    superb

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

    Mam your dress is soo nice👌👌

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

    😗....😁 by the way thank you so much...

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

    Ma'am when are you going to start python series?

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

    char str[]={'a','b','c','d',' ','e','f','g','h'};
    what is the length of above string??
    strlen(str)=???

  • @ADARSHKUMAR-ne8ov
    @ADARSHKUMAR-ne8ov 3 роки тому +1

    Maam aap sanskrit bhi padhayeee tho bhi mai din raat tyaar hun apki class attend krne ke liye..... Pr aap video bnana kabhi band mt kijiyega.......

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

    For some reason mine is showing len 0.
    size_t strLen = strlen(palavra);
    printf("Size of String >> %zu", strLen);

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

    12:18

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

    How to solve this using fgets()?

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

    Mam please do video on memmove(), memset(), memcpy()

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

    We can do it without using count right, just using i ..........

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

    Thank you mam

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

    Mam please run this with for loop also

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

    Thanks medam

  • @sanjeetharan1143
    @sanjeetharan1143 11 місяців тому +1

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

    Ma'am we can use for loop also as well😊

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

      Can you please give me code using for loop

  • @Raju-08rk
    @Raju-08rk Рік тому

    Ma'am u said that length of the string is number of characters +1 ...but in strlen..ur saying end of the string

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

    helpful video

  • @AbhiAbhi-kv3nk
    @AbhiAbhi-kv3nk 3 роки тому

    Mam when will you finish the c language (How many days/ months) and start the other topics.... Mam please reply to my comment....

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

    Ma'am I want some help for c ++ program

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

    Ma'am please aap Binary tree ke deletion and searching ka bhi implementation ke lie video upload karona

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

    Mai fir Jenny mam ki video dekhne aa gya ..... Har pal sochta hu cs se btech kyu nahi ki 😭😭

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

    please teach us e&tc subjects

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

    Hello mam please make a video on preparation plan for GATE exam from the b.tech 1st year
    Please make a video on it

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

    mam %d ta %s hoga . on the 1st Program

  • @NfKirithick
    @NfKirithick 21 день тому

    Why count++?

  • @vikaskumar-up8yg
    @vikaskumar-up8yg 3 роки тому

    Mai share market Mai trading karta Hu ,Mera age 21 hai lekin Mai coding Ka vedeo Dekh Raha Hu kyuki ye Jo teacher hai inke English bolne Ka tarika mujhe bahut bahut pasand ,mujhe English utna nhi hai ata hai lekin samjh Jata Hu Thora bahut Ulta sidha samjhta Hu😀😀😀😁,mujhe sirf inke English sikhna hai has coding mujhe samjh nhi ata hai

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

    mam can u plz solve this question

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

    if(jenny == beautiful){
    cout

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

    hmeltha reuh hle mai a 🤣🤣

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

    Hello Mam, I am working in IT company in cyber security domain. I need to audit code for possible vulnerabilities. Please make videos on below topics.
    1) Double pointers
    2) Pointers to structure
    3) Pointers to arrays
    4) Dynamic Memory Allocation and deallocation.

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

    I like your dressing style mam

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

    Madam Please DBMS Ka Hindi me lecture banaye

  • @learningdatasciencealongme190
    @learningdatasciencealongme190 3 роки тому +51

    Not able to focus on subject 🙄🙄

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

    Write a C program to find first occurrence of a word in a given string.

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

    ❤️❤️❤️❤️

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

    When Python ?

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

    UA-cam recommended me

  • @shashank_kishore_
    @shashank_kishore_ 2 місяці тому

    ❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤

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

    Preety cute mam ❤️♥️

  • @codingisfun1
    @codingisfun1 10 місяців тому

    Count length of a string 👇 ua-cam.com/users/shorts1IzNBx05vkA?si=Sm1DNTDVqqagNWa0

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

    ok

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

    Heroin 👸

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

    i want team to do mini projects.any body in the stream of CSE?

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

    Mam ap bohat sundar ho

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

    Ma'@m how to print: I love you??

    • @PrateekMishra.
      @PrateekMishra. 3 роки тому +3

      #include
      int main ()
      {
      printf("I Love You") ;
      return 0;
      }
      /*don't disturb your ma'am for such simple issues*/

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

    First to comment 😀

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

    Aap plz Hindi me v study karaya kro plz 😓😓😣😣