C_44 Nested while loop in C | C Programming Tutorials

Sdílet
Vložit
  • čas přidán 25. 01. 2021
  • In this lecture we will learn:
    - What is Nested while loop in C?
    - working and syntax of nested while loop
    - C program using nested while loop
    C Programming Tutorials playlist: • Programming in C
    *********************************************
    Connect & Contact Me:
    Jenny's Lecture Hindi: / @jennyslectureshindi
    Facebook: / jennys-lectures-csit-n...
    Quora: www.quora.com/profile/Jayanti...
    Instagram: / jayantikhatrilamba
    Twitter: / khatrijenny
    *******************************************
    More Playlists:
    Programming in C Tutorials: • Programming in C
    C++ Tutorials for beginners: • Lec 1: How to Install ...
    Printing Pattern in C: • Printing Pattern Progr...
    Best Python Tutorials for Beginners: • Python - Basic to Advance
    Placement Series: • Placements Series
    Data Structures and Algorithms: https: • Data Structures and Al...
    Design and Analysis of Algorithms(DAA): • Design and Analysis of...
    Dynamic Programming: • Dynamic Programming
    Operating Systems tutorials: // • Operating Systems
    DBMS Tutorials: • DBMS (Database Managem...
    #cprogramming #coding #codingexercises #program #clanguage #jennyslectures

Komentáře • 194

  • @ahmadalkordee5879
    @ahmadalkordee5879 Před 3 lety +82

    before you learn any programming language you need to watch all these videos to learn what is going on :) ,,, excellent work

  • @chezchundy8892
    @chezchundy8892 Před rokem +9

    This is incredibly helpful. Most YT teachers explain how each part of the loop functions, but never go into their relation and how control moves through each loop. SO SO helpful, thank you!

  • @priyanshupradhan415
    @priyanshupradhan415 Před 3 lety +19

    Superb vdo❤️. never ever seen in my lyf.
    Those who are great fan of mam please like for her.
    👍

  • @superhamid40
    @superhamid40 Před 9 měsíci

    Thank you so much for this wonderful explanation. Now, it makes sense for me!

  • @nickbillions6145
    @nickbillions6145 Před rokem +2

    Thank you very much for your lessons. They are really helping me to understand C programming much better

  • @taebear9639
    @taebear9639 Před 10 měsíci +4

    It was really difficult for me to understand nested while loop, your lectures really helped me a lot... Thank you so much

  • @maryannemuthoni5388
    @maryannemuthoni5388 Před 8 měsíci +8

    For the assignment it will be an infinite loop since j is 1 hence 1

  • @durgasai5879
    @durgasai5879 Před rokem +21

    #include
    void main()
    {
    int i=0,j=1;
    while (i

  • @awopetuolamilekan2519
    @awopetuolamilekan2519 Před rokem +6

    awesome lecture ,I like how you lecture , good coaching keep it up .

  • @sachiyasdiary_
    @sachiyasdiary_ Před 8 měsíci

    Thank you very much for your lessons. They are really helping me to understand C programming much better ❤❤❤

  • @yogithamilarasan
    @yogithamilarasan Před 2 měsíci +1

    Amazing explanation thank you madam

  • @bensonadedayo4403
    @bensonadedayo4403 Před 2 lety +2

    You are good with this jenny Kudos 🤝

  • @GreatMA_
    @GreatMA_ Před rokem

    Thank you so muich ma'am for this.. its making c programming easier for me..
    love yor accent too 😊

  • @johnokoh7733
    @johnokoh7733 Před rokem

    Reliefing tutorial. Thank you.

  • @Cassidy_luv
    @Cassidy_luv Před 3 lety +6

    i like your style
    So understand easyly
    I am from sri lanka 🇱🇰

  • @naveensubbireddy3816
    @naveensubbireddy3816 Před 2 lety +5

    #include
    void main() {
    int i=0,j=1;
    while(i

    • @amanmomin7798
      @amanmomin7798 Před 10 měsíci

      bro i have 1 and 2 output in programiz online compiler

  • @vishal-nx6vh
    @vishal-nx6vh Před 2 lety +6

    My college professor are not like you as you teaching clearly thanks mam 🙏👍

  • @trapking5114
    @trapking5114 Před rokem +9

    in the second question, the inner loop will be an infinite one as the value of j doesn't get updated and as a result the printf statement is never executed.

  • @MessixPrashant
    @MessixPrashant Před 5 měsíci +1

    Thank you so much!!!

  • @pundleekm9117
    @pundleekm9117 Před rokem +1

    Excellent teaching in each topic

  • @m4ttth
    @m4ttth Před 4 měsíci +1

    thank you Miss youre lecture was very helpful

  • @bolemlavanya3023
    @bolemlavanya3023 Před rokem

    Great explanation Jenny mam ☺️🙏✨💫

  • @ashanprabath5191
    @ashanprabath5191 Před 2 lety +2

    Thank you mam👌🙏 you saved me:

  • @Itz_Anas_khan
    @Itz_Anas_khan Před 2 měsíci +1

    Before learn programming 😊
    In the beginning😂
    In the middle when complex loops, arrays are started 🤯

  • @zawnyeinhtet242
    @zawnyeinhtet242 Před 6 měsíci

    Thanks a lot Teacher, It helps me a lot

  • @MAHESH-rf2uy
    @MAHESH-rf2uy Před rokem +4

    My 🧠: I think i am late to learn C 😒😏
    My 🫀: No problem Jenny Mam is there....🤞✌😎

  • @DeepakKumar-lb5ku
    @DeepakKumar-lb5ku Před 2 lety +1

    yha sabse bada maam ka fan mai huu......koe dhakka-mukki nahi kraga....

  • @millanouma8480
    @millanouma8480 Před rokem

    A big thank you

  • @learningcomputerlanguages3381

    Nice teching methodology.

  • @ruthrakaran
    @ruthrakaran Před 3 lety +4

    Loops will empy because there is no any value entered into inner loop(if we entered printf then it will infinite Loop

  • @harshitgupta402
    @harshitgupta402 Před 3 lety

    Superb video 😉

  • @Justice_IEA
    @Justice_IEA Před rokem +1

    Beautiful and intelligent tech Queen.😍🥰 I wish to be following on your social media platform so as to tag you to my peers.

  • @anujeetkunturkar780
    @anujeetkunturkar780 Před 3 lety +11

    2:16 Lecture Starts

  • @vanshikagarg7586
    @vanshikagarg7586 Před rokem

    thank u for such a nice explanation .. my output is comig is blalnk.
    thank u once again

  • @fernandodejesuslucart9339

    amazing video,

  • @izel_5
    @izel_5 Před 10 měsíci

    Thank u mam ❤

  • @brindhavenugopal4395
    @brindhavenugopal4395 Před 3 lety +4

    Mam please upload more videos regarding C language🙏

  • @marimuthu_a
    @marimuthu_a Před 9 měsíci +2

    9:29 it runs like ♾️ loop and won't print any. Is it right 🤔🤔

  • @gayathridevi5805
    @gayathridevi5805 Před 3 lety +8

    From watching your vedios i get cravings to teach like you. I like the way how you pronounce words😘. Fidha hogaya mam.
    From Andhrapradesh

  • @jeswanthjustin9348
    @jeswanthjustin9348 Před 3 lety

    The content is good mam

  • @akshatshukla2306
    @akshatshukla2306 Před 3 lety

    Mam you are a boon for all computer students

  • @lingampellisrinivas3667
    @lingampellisrinivas3667 Před 3 lety +6

    Mam the way of Ur teaching is excellent 🎉🔥❤️

    • @marcoshepard7850
      @marcoshepard7850 Před 2 lety

      i dont mean to be off topic but does any of you know of a trick to log back into an Instagram account?
      I was stupid lost my password. I would appreciate any tips you can offer me

  • @kusumjadhav2381
    @kusumjadhav2381 Před rokem +2

    Very nice explain about loops. I am working on C language since last 21 years. I like the way you explain the concept. Good job. Keep posting more videos.

    • @Deadlyderivation
      @Deadlyderivation Před rokem +1

      So what is your current age and what is your profession mam

    • @shaikhfaisal8464
      @shaikhfaisal8464 Před rokem +1

      then y r u here if u are working since last 21 years i think u would be the champion of c since 21 yrs

    • @manojhp2351
      @manojhp2351 Před rokem

      ​@@shaikhfaisal8464😂

  • @dolasibrahim382
    @dolasibrahim382 Před 2 lety +3

    The output will be blank screen. Infinite loop

  • @aamilraza3241
    @aamilraza3241 Před 3 lety

    Ma,am l like your teaching

  • @atifrasheed4989
    @atifrasheed4989 Před 3 lety +7

    Mam you are good in teaching but why not you add practical part of a certain task or erore like you write all the codes on board . Thats good but as a learner i need to see it practicaly. In that scene the student or guy who is watching will understand that part much better
    Thank you for current effort i have learned a lot from you
    I know you can't hold a computer on the board but you can add some screeen shots of that particular problem in the video
    Love from PAKISTAN

    • @1inabillion48
      @1inabillion48 Před 2 lety +3

      Why shouldn't you write the code n check whether it's right or not..

  • @udaysinghrana5725
    @udaysinghrana5725 Před rokem +3

    9:28 - it will be an infinite loop

  • @amarjitbehera5925
    @amarjitbehera5925 Před 3 lety +2

    Mam ur some data structure videos are not in the playlist .Out of 112,12 videos are not showing mam.please fix it mam as soon as possible, it helps me a lot. please mam.

  • @Emundadhu
    @Emundadhu Před 3 lety +4

    Please do teach us AI mam if possible
    If not possible teach us atleast basics for beginners

  • @codedev6918
    @codedev6918 Před 3 lety +4

    MAM This Pattern plz 🥺
    *
    * *
    * *
    * *
    *
    I hope you understand

  • @GR09876
    @GR09876 Před 3 lety +1

    Mom i like the way of teaching style that you follow. I want to learn from basic in computers. Guide me pls.

    • @sankalpphadke4938
      @sankalpphadke4938 Před 3 lety +2

      Mom Or Mam??
      Edit it out!! 😂

    • @GR09876
      @GR09876 Před 3 lety +2

      @@sankalpphadke4938 Mom I want you to call in this manner only I'm 46yrs old not joking
      🙏namaskar🙏 to a Faculty Or Teacher. Iam slow learner not any Prof Deg only an ord UG Cpl that too in open university. Rarely I view your posting.

    • @741ibrahim2
      @741ibrahim2 Před 3 lety

      @@sankalpphadke4938 i think teachers are like our mom

  • @rosonerri-faithful
    @rosonerri-faithful Před 2 lety +9

    It will be infinite loop since the inside loop doesn't have any updation so it will always be j=0 and j

    • @the19thfactor22
      @the19thfactor22 Před 2 lety

      I am getting error, would you please help me correct this program, thank you
      // won't run
      // output should be 2100,11,22,33
      #include
      int main ()
      int i=1,j=3;
      do
      {
      do
      {
      printf("%d",j); // printf("%d",-j);
      j--;
      }
      while(j>0);
      i++;
      printf("%d",i); // printf("%d",i++);
      }
      while(i

    • @DG10336
      @DG10336 Před rokem

      No u wrong because here is no printf suppose condition are true what they are print?

    • @Its_okay12
      @Its_okay12 Před rokem

      The output we get 123012???

    • @Its_okay12
      @Its_okay12 Před rokem

      The output we get 123012???

  • @18fatima15
    @18fatima15 Před 3 měsíci +3

    7:37 the o/p is correct
    8:06 #include
    int main()
    {
    int i=0,j=1;
    while(i

  • @UbaidKhan-ox6on
    @UbaidKhan-ox6on Před 3 lety +2

    Thank You Ma'am 🙏
    No output will be show if I'll write
    #include
    int main()
    { int i=0;
    int j=1;
    while(i

    • @gramawardsachivalayaminfo4209
      @gramawardsachivalayaminfo4209 Před 2 lety

      Reason for this output, please

    • @borutouzumaki5086
      @borutouzumaki5086 Před 2 lety

      @@gramawardsachivalayaminfo4209 becoz control will come inside 2nd while loop and loops infinite times so it wont come out of 2nd while loop

  • @TUSHAR-xg7kz
    @TUSHAR-xg7kz Před 3 lety

    mam telegram ... group ku nhh start krti...

  • @baskarj9419
    @baskarj9419 Před 3 lety +1

    Last question answer is Infinite loop

  • @muhammadalishaikh786
    @muhammadalishaikh786 Před 3 lety

    Kindly start Compiler Construction Course

  • @parthshroff7357
    @parthshroff7357 Před 9 měsíci

    9:27 mam we will get no output as inner while will become infinite loop

  • @hareeshkumar9554
    @hareeshkumar9554 Před 2 lety +1

    that is infinite loop
    bcs there is no update statements in inner and outer loops..am i ryt mam..anyone pls respond

  • @rameshgehlot8821
    @rameshgehlot8821 Před 3 lety +1

    Infinite loop in the last question

  • @sabavatsrikanth8798
    @sabavatsrikanth8798 Před 3 lety +1

    i=4 , j=5

  • @ranveerbairwa6011
    @ranveerbairwa6011 Před 3 lety

    Hallo mem operation research ka paper mil sakta hai kya 2020 msc final mathematics

  • @ritikpatil7946
    @ritikpatil7946 Před 2 lety

    It will be the Infinite loop , compiler doesn't modified it

  • @Manpreet_saini696
    @Manpreet_saini696 Před rokem

    Mam can you give some logic of * program by using whole loop

  • @thekushalgaikwad
    @thekushalgaikwad Před 3 lety +1

    Thumbnail should be better.
    It helps to gain new subscribers easily.

  • @rushikeshwakode2991
    @rushikeshwakode2991 Před 3 lety

    👍👍👍👍.......

  • @sifar1
    @sifar1 Před 3 lety +1

    Infinite '0' loop

  • @Ankita20165
    @Ankita20165 Před 4 měsíci +1

    1 and 2 will be the answer of hw question. ....

  • @savitsharma7038
    @savitsharma7038 Před 3 lety

    function are not available....????

  • @noone0978
    @noone0978 Před 11 měsíci +1

    i run the HW code and i got error

  • @yamilz32
    @yamilz32 Před 3 lety +7

    No exit condition in inner loop, infinite loop with no printing will occur

  • @who_thekaushik
    @who_thekaushik Před 2 lety

    Inner while loop me 1 always less than equal 3 hoga wo infine loop bna dega

  • @beingoutofthebox8906
    @beingoutofthebox8906 Před 3 lety +3

    Is the value of i=3 and j=5 in the last question

  • @VivekGupta-mf1kk
    @VivekGupta-mf1kk Před rokem

    infinite loop created BCOZ oF J variable
    outerloop have no condition or expersion for it

  • @chaithray3138
    @chaithray3138 Před 2 lety +1

    it will be infinite loop because J is always

  • @TUSHAR-xg7kz
    @TUSHAR-xg7kz Před 3 lety +1

    hm log waha se ... grow kr skte h

  • @saisuganya5599
    @saisuganya5599 Před 3 lety +1

    Infinity loop with nothing executed

  • @yogarathinam589
    @yogarathinam589 Před 8 měsíci

    I and j values are 4 and 5 mam

  • @user-ju7zh9ic1q
    @user-ju7zh9ic1q Před 3 lety

    I want a hospital ERD Video.

  • @AbdulRahman-mi5nz
    @AbdulRahman-mi5nz Před rokem

    i-4,j=2

  • @Rj_Raja19
    @Rj_Raja19 Před 2 lety +8

    int i,j,a=1,b=1;
    while(a

    • @priyadharshinim5092
      @priyadharshinim5092 Před 2 lety +3

      same

    • @sohanghosh9692
      @sohanghosh9692 Před 2 lety +6

      Because the value of b is already 3 after the completion of the inner while loop and like for loop here for a=2 , b is not initialising its value from 0 again ! It is 3 , so the loop can not run again ... That is why only 3 star will be printed for a = 1 only and for a = 2 & 3 there will be nothing to print as the loop for b can not run again ! I hope you get it

    • @Rj_Raja19
      @Rj_Raja19 Před 2 lety

      @@sohanghosh9692 Thank you for your time ❤️

    • @dhanushm1569
      @dhanushm1569 Před 2 lety

      @sohan ghosh, thank you for your information.

    • @sohanghosh9692
      @sohanghosh9692 Před 2 lety

      Most welcome ❤

  • @nageshudavath2578
    @nageshudavath2578 Před 4 měsíci +1

    Output is
    123012

  • @spirited-traveller
    @spirited-traveller Před 3 lety +1

    Only cursor is blinking. In output window.

  • @harshvardhantandon8278

    9:26 mam this will give a blank output.

  • @durgalankipalli2541
    @durgalankipalli2541 Před 2 lety +1

    When I run the program, there are no errors and even no output :)

  • @brahampurohit6267
    @brahampurohit6267 Před 11 měsíci

    Last loop is an infinite loop coz inner loop conditions always same

  • @TUSHAR-xg7kz
    @TUSHAR-xg7kz Před 3 lety

    mam ...uspr aap small problems de dijiye

  • @salesforceloneranger1886
    @salesforceloneranger1886 Před 3 lety +2

    Beauty with Brain.... 😍😍😍

  • @veereshnk4048
    @veereshnk4048 Před 6 měsíci

    2:16 the vedio starts

  • @ashokashok8576
    @ashokashok8576 Před 2 lety

    Here loop is infinite.so,it can't go printf section no output will come.

  • @maddiliyamuna408
    @maddiliyamuna408 Před 3 lety

    i=1,j=2

  • @Liam-10
    @Liam-10 Před rokem +1

    Actually i got nothing.
    The last code didn't work

  • @impossible3220
    @impossible3220 Před 11 měsíci

    Is this for class 10

  • @Jenis_Sanghani
    @Jenis_Sanghani Před 3 lety

    1st maybe

  • @clintonemenike1903
    @clintonemenike1903 Před rokem

    I don't understand 😐
    I thought the iterations of the inner loop reset back to 0 once the outer loop completes one round?
    Why did she carry out the inner loop just once

    • @riksinff4051
      @riksinff4051 Před rokem

      because in while loop j was initialized by 1 only one time and not again and again, but in nested for loop the inner for loop was initialized by 1 again and again that is why it was entering in inner foor loop again and again but the situation is diff. in nested
      while loop

  • @Lets_Talk-Cencetional
    @Lets_Talk-Cencetional Před 3 lety +1

    Screen is showing blank

  • @gireeshbhat4158
    @gireeshbhat4158 Před 2 lety

    Anyone tell me Is Last question ans :Infinite loop with no output

  • @tariqulislamemue8641
    @tariqulislamemue8641 Před 2 lety

    Did you know anyone who could teach python as like you...?

  • @LakshyaAvani
    @LakshyaAvani Před 3 lety

    Output:1 2 3 2

  • @ahmeda.mostfa9642
    @ahmeda.mostfa9642 Před 3 lety +1

    The output is: 123, 234. If im wrong please tell me. Thanks.