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

แชร์
ฝัง
  • เผยแพร่เมื่อ 26 ต.ค. 2024

ความคิดเห็น • 149

  • @THR17
    @THR17 3 ปีที่แล้ว +59

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

  • @baibhavrajkumar418
    @baibhavrajkumar418 2 ปีที่แล้ว +7

    #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 7 หลายเดือนก่อน +3

      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 3 หลายเดือนก่อน

      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 ปีที่แล้ว +9

    Best TH-cam C-Programming teacher! :D

  • @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

  • @katamabhishek8844
    @katamabhishek8844 3 ปีที่แล้ว +15

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

  • @JKA-sf7ll
    @JKA-sf7ll 3 ปีที่แล้ว +13

    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 .. .. ..

  • @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

  • @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.

  • @YuvrajChowhan
    @YuvrajChowhan 3 ปีที่แล้ว +6

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

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

    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

  • @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.

  • @sandeepnallala48
    @sandeepnallala48 3 ปีที่แล้ว +5

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

  • @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.

  • @AnkithaGk-l2m
    @AnkithaGk-l2m 10 หลายเดือนก่อน +1

    Thank u so much mam

  • @sigmainfinity5475
    @sigmainfinity5475 5 หลายเดือนก่อน

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

  • @MohammedIbrahim-eu1mk
    @MohammedIbrahim-eu1mk 3 ปีที่แล้ว +3

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

  • @krunalchandewar5590
    @krunalchandewar5590 2 ปีที่แล้ว +1

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

  • @elijahmikaelson740
    @elijahmikaelson740 2 ปีที่แล้ว +1

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

  • @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.

  • @Ijk-tb7wf
    @Ijk-tb7wf 6 หลายเดือนก่อน

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

  • @hardiksavaliya4516
    @hardiksavaliya4516 2 ปีที่แล้ว +1

    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.

  • @shankartirumala2789
    @shankartirumala2789 2 ปีที่แล้ว +1

    Madam please do video about string length using call by address

  • @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 * /

  • @anujeetkunturkar780
    @anujeetkunturkar780 3 ปีที่แล้ว +2

    Skip 1:26 to 3:04.

  • @sivakrishna6485
    @sivakrishna6485 3 ปีที่แล้ว +2

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

  • @gurueducationandmotivation8140
    @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

  • @harshpandey3500
    @harshpandey3500 3 ปีที่แล้ว +2

    It's Very useful ☺☺

  • @ss-li4mg
    @ss-li4mg 3 ปีที่แล้ว +2

    Awesome class

  • @jeanrioux8750
    @jeanrioux8750 ปีที่แล้ว

    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

  • @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.......

  • @Nassir8535
    @Nassir8535 ปีที่แล้ว

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

  • @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 9 หลายเดือนก่อน

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

  • @Ijk-tb7wf
    @Ijk-tb7wf 6 หลายเดือนก่อน

    Thank you mam 😊

  • @rahulprasad9198
    @rahulprasad9198 3 ปีที่แล้ว +1

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

  • @nandhucharan5858
    @nandhucharan5858 3 ปีที่แล้ว +1

    Hello ma'am please make video on bitmasking in c

  • @MDJAKIR-qj8ri
    @MDJAKIR-qj8ri 3 ปีที่แล้ว +2

    Very good

  • @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 .

  • @leonelmessi3010
    @leonelmessi3010 2 ปีที่แล้ว +2

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

  • @Raju-08rk
    @Raju-08rk 11 หลายเดือนก่อน

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

  • @ececse
    @ececse ปีที่แล้ว

    thankyou ma'am 🙏

  • @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.

  • @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.

  • @rvce
    @rvce 2 ปีที่แล้ว

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

  • @Saivarun-wc3oe
    @Saivarun-wc3oe หลายเดือนก่อน

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

  • @Iqbalsharib4
    @Iqbalsharib4 3 ปีที่แล้ว +2

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

  • @RAHULKUMARSINGH-qp9mc
    @RAHULKUMARSINGH-qp9mc 3 ปีที่แล้ว

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

  • @TarunTech01
    @TarunTech01 11 หลายเดือนก่อน

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

  • @abijithasokan2632
    @abijithasokan2632 ปีที่แล้ว

    Perfect teacher doesn't exi.. 🙄

  • @A1Tech6111
    @A1Tech6111 2 ปีที่แล้ว

    Thanks medam

  • @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??

  • @abhishekpimpalshende4085
    @abhishekpimpalshende4085 2 ปีที่แล้ว

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

  • @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

    • @741ibrahim2
      @741ibrahim2 3 ปีที่แล้ว

      yeah its important mam

  • @melthabah1158
    @melthabah1158 3 ปีที่แล้ว

    Thank you mam

  • @kunalsehgalkunalsehgal5682
    @kunalsehgalkunalsehgal5682 ปีที่แล้ว

    Mam please run this with for loop also

  • @Proudmuslim32
    @Proudmuslim32 9 หลายเดือนก่อน

    superb

  • @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

  • @adhithyamudhiraj8536
    @adhithyamudhiraj8536 3 ปีที่แล้ว

    Mam your dress is soo nice👌👌

  • @deepika5880
    @deepika5880 3 ปีที่แล้ว

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

  • @RTBOSS
    @RTBOSS 3 ปีที่แล้ว +1

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

  • @learningdatasciencealongme190
    @learningdatasciencealongme190 3 ปีที่แล้ว +37

    Not able to focus on subject 🙄🙄

    • @IndianSubmarine804
      @IndianSubmarine804 10 หลายเดือนก่อน +5

      Goli beta masti nahi

    • @riteshbisht94
      @riteshbisht94 9 หลายเดือนก่อน +4

      Tu iss man ka daas na ban iss man ko apna daas banale 🗿

    • @mindyourbussiness4
      @mindyourbussiness4 9 หลายเดือนก่อน

      @@IndianSubmarine804 🐐 rohith sir

    • @Raj-nl2fo
      @Raj-nl2fo 9 หลายเดือนก่อน +8

      Poduko emundile ika 😅

    • @sandipmishra2831
      @sandipmishra2831 9 หลายเดือนก่อน

      @@riteshbisht94 😏😏

  • @prasannaguna2643
    @prasannaguna2643 ปีที่แล้ว

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

  • @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

  • @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....

  • @sunnykvofm
    @sunnykvofm 3 ปีที่แล้ว

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

  • @sanjeetharan1143
    @sanjeetharan1143 9 หลายเดือนก่อน +1

  • @vasusharma6210
    @vasusharma6210 2 ปีที่แล้ว

    helpful video

  • @send2meanything
    @send2meanything 3 ปีที่แล้ว

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

  • @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

  • @codingisfun1
    @codingisfun1 8 หลายเดือนก่อน

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

  • @nikhilpragada1562
    @nikhilpragada1562 2 ปีที่แล้ว

    I like your dressing style mam

  • @letsbegininbinaryworld
    @letsbegininbinaryworld 3 ปีที่แล้ว +2

    Madam Please DBMS Ka Hindi me lecture banaye

  • @prashant7895
    @prashant7895 3 ปีที่แล้ว

    please teach us e&tc subjects

  • @_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

  • @AmitPandey_10
    @AmitPandey_10 ปีที่แล้ว

    if(jenny == beautiful){
    cout

  • @destroyer_x9595
    @destroyer_x9595 2 ปีที่แล้ว +1

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

  • @adroway
    @adroway 3 ปีที่แล้ว +2

    TH-cam recommended me

  • @santanusaha3762
    @santanusaha3762 2 ปีที่แล้ว

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

  • @vivekghadage7208
    @vivekghadage7208 3 ปีที่แล้ว +1

    When Python ?

  • @xDeadlyWarriorX
    @xDeadlyWarriorX 2 ปีที่แล้ว

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

  • @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 9 หลายเดือนก่อน

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

    • @ParamitaDey-bi1mg
      @ParamitaDey-bi1mg 9 หลายเดือนก่อน

      @@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

  • @sk_ismail_hsn
    @sk_ismail_hsn 2 ปีที่แล้ว

    How to solve this using fgets()?

  • @send2meanything
    @send2meanything 3 ปีที่แล้ว

    mam can u plz solve this question

  • @gokulraj8302
    @gokulraj8302 2 ปีที่แล้ว

    12:18

  • @kumarvicky6337
    @kumarvicky6337 3 ปีที่แล้ว +1

    ok

  • @valentinehrahsel1854
    @valentinehrahsel1854 2 ปีที่แล้ว

    hmeltha reuh hle mai a 🤣🤣

  • @nakuldhotarkar8790
    @nakuldhotarkar8790 3 ปีที่แล้ว

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

  • @mont76
    @mont76 2 ปีที่แล้ว

    Mam ap bohat sundar ho

  • @shilpashreee23
    @shilpashreee23 ปีที่แล้ว +1

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

  • @akashchandranial1192
    @akashchandranial1192 3 ปีที่แล้ว

    I love you mam

  • @shorttechnicsaty2984
    @shorttechnicsaty2984 3 ปีที่แล้ว +2

    Today I am late 😭.

  • @geethalatha4187
    @geethalatha4187 2 ปีที่แล้ว

    Heroin 👸

  • @rajeshjena5508
    @rajeshjena5508 3 ปีที่แล้ว +1

    ❤️❤️❤️❤️

  • @ravitejabtech8401
    @ravitejabtech8401 3 ปีที่แล้ว

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

  • @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*/

  • @yadav211
    @yadav211 3 ปีที่แล้ว +1

    Preety cute mam ❤️♥️

  • @shashank_kishore_
    @shashank_kishore_ หลายเดือนก่อน

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

  • @anirban3024
    @anirban3024 2 ปีที่แล้ว

    Mam tells like lagent but i can't understand anything which mam said.If you what to tell English than say tharoly

  • @madhavkumar895
    @madhavkumar895 3 ปีที่แล้ว +1

    💕💞