C_45 Nested do while loop in C | C Programming Tutorials

Sdílet
Vložit
  • čas přidán 26. 01. 2021
  • In this lecture we will learn:
    - What is Nested do while loop in C?
    - working and syntax of nested do while loop
    - C program using nested do 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/...
    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 #program #clanguage #jennyslectures #nestedloop

Komentáře • 331

  • @purtainme4627
    @purtainme4627 Před 3 lety +36

    I am regular viewer of your channel
    It is very helpful for freshers
    printf "Please make next video as soon as possible";

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

    int i=1, j=3;
    do
    {
    do
    {
    printf("%d ",--j);
    }while(j>0);
    printf ("%d ",i++);
    }while(i

  • @saibalam7852
    @saibalam7852 Před 3 lety +99

    Output for last question is 2101-12-23

  • @amazonindia9264
    @amazonindia9264 Před 3 lety +22

    Ma'am please continue the series.
    It's really very helpful. ❤️

  • @PareeksAcademy10october2001

    #include
    #include
    void main()
    {
    clrscr();
    printf("Mam please make a videos on array");
    getch();
    }

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

    Hi
    I have a doubt
    Why it's not
    2 1 0 1 -1 2 -2 3 -3 4
    Cuz if last value of i = 3
    Then outer loop condition ( i

    • @rifihari8705
      @rifihari8705 Před 3 lety

      Yes

    • @elavarasan_r154
      @elavarasan_r154 Před 3 lety

      Wrong
      Because, i

    • @elavarasan_r154
      @elavarasan_r154 Před 3 lety

      Last value is not i=3, because when print the value 3 after i=4 value is assigned then only condition checked

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

      even i got the same output 2 1 0 1 -1 2 -2 3- 3 4 and i think its right i checked it three times

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

    Please continue lectures of DAA and DBMS
    I'll fail without your lectures bcoz no one can better explain than you , your word pronunciation is really good , easy to understand

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

    output for last problem is 2100-11-22-33 and program is given below:
    #include
    #include
    int main()
    {
    int i = 0,j = 3;
    do
    {
    do
    {
    printf("%d",--j);
    }
    while(j>0);
    printf("%d",i++);
    }
    while(i

  • @TUCSARVINDKUMARS
    @TUCSARVINDKUMARS Před 3 lety +21

    Mam upload arrays topics also mam waiting for u r vedios 🥺🥺🥺🥺

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

    Mam videos on Python please..from introduction 🤗🤗

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

    Mam, if you had started this series 2-4 months back, I am very sure I had not gone to study this offline. Great effort mam, keep it up.

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

    output is 2101-12-23

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

    Mam please add donate link or payment option so that we can at least support you for your hard work. Please mam!!!

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

    Your are very great mam ,teaching very well about the topic. Why u are so serious while teaching god given beautiful face as well as heart try to laugh mam.

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

    Mam why you are not uploading videos it have bee 2 weeks madam please upload next videoo.. Plzzzz..

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

    I've watched all your 45 videos on c programming. Thanks mam. Helped a lot 🙌

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

    8:22 the o/p is correct
    8:51#include
    int main()
    {
    int i=1,j=3;
    do
    {
    do
    {
    printf("%d",--j);
    }while(j>0);
    printf("%d",i++);
    }while(i

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

    mam output is 2 1 0 1 -1 2 -2 3

  • @raveendraghantasala572
    @raveendraghantasala572 Před rokem +3

    Output for last question is 2102-13-24

    • @rachitparashar1243
      @rachitparashar1243 Před rokem

      wrong output is 2101-12-23

    • @ananthu4141
      @ananthu4141 Před rokem

      ​@@rachitparashar1243No.. It's the right answer up to the logic of example problem done in this video... Bcz( printf("%d", i++); doesn't follow post increment rule(i.e once execut original value)... So it will directly increment the initial value of i 😌

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

    Mam We want you to teach the Python Programming , Because the way You are teaching Is Excellent mam

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

    Mam please make videos on array,strings,user defined functions,structures,pointers,dynamic memory allocation concept videos also In c because we are addicted for u mam

  • @abdulrahimjalloh363
    @abdulrahimjalloh363 Před rokem +1

    Assignment
    #include
    #include
    void main(){
    int i=1, j=3;
    do
    {
    do
    {
    printf("%d",--j);
    }while(j>0);
    printf("%d",i++);
    }while(i

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

    Thank you so much jenny for taking us flawlessly through conditional and control statements. I understood so much and so well. God bless you.

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

    ma'am your teaching style is amazing.
    I'm waiting for your next videos in this series.
    please upload it ma'am.

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

    Output is this i think 2102-13-24
    Please ans me if u have time

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

    Mam, please can give solution for my question please
    Take 4 input numbers and find 2nd smallest number using tarnary operator

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

    Soo i like u teacher
    Pefect and very useful
    One thing i most like your saying okay part its so cute
    And thanks for help us 🇱🇰

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

    Mam please cover COA computer organization and architecture and digital logic circuit 🙏🙏.

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

    If possible please do python, java tutorials please medam 🙏🙏..

  • @s.parthibansb7759
    @s.parthibansb7759 Před 3 lety +1

    good morning madam. This is PATHIBAN from south india. I'm watching your all videos in youtube. Kindly don't remove those videos from youtube mam. It's helping us a lot. Even now I don't know whether you read this command or not. My request is don't remove any videos madam, It's very useful to poor people to learn CS. thanks madam...

    • @someone-uw5kx
      @someone-uw5kx Před 3 lety

      Why don't you try durga sir .. He is known as #java #god among java developers community. Search his name ... Every video will be 1hr+. I gaurentee that you won't be able to complete his tutorials in less then 3 months.

  • @biswajeetjena1150
    @biswajeetjena1150 Před rokem +1

    Answer is 2101-12-23

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

    Output for homework nested do while is 2101-12-13-24

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

    Thank you, first vid that showed me what I actually needed

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

    The answer to the assignment is: 2102-14
    In inner loop --j prints 2 then when condition checked 2>0 so it is repeated, --j prints 1 then when condition checked 1>0 so loop is repeated then --j prints 0 then when condition checked 0 is not greater than 0 so we move to outer loop block where i++ makes i 2 then when printing since it's post decrement we use 2 value but after execution i is actually 3 then when you check the condition 3>4 it's true so outer loop is repeated. Then we go into the inner loop, j which is 0 is decremented to -1 which is printed out but the condition is not met since -1 is not greater than 0 so we move to outer loop block statement. Here i is incremented to 4 then when printing 4 is printed out since it is post decrement but after execution of the printf statement i is actually 5. The condition is not met so loop ends sinc 5 is not greater than 4.
    #include
    int main(void)
    {
    int i = 1;
    int j = 3;
    do{
    do{
    printf("%d", --j);
    }
    while (j > 0);
    i++;
    printf("%d", i++);
    }
    while (i < 4);
    }

  • @AZ-be5un
    @AZ-be5un Před 3 lety +4

    What happened ma'am?? Is everything alright?? Pretty much time has passed since you uploaded the last video.

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

    I love 💖 your teaching mam!!

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

    mam please upload the remaining topics video of C .🙏🙏🙏

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

    Mam you said that you were planning to complete dbms playlist but you didn't upload any vedios on dbms

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

    Ma'am when the course will finish?

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

    Mam kuch mere college professor ko bhi samhao
    Pta nhi konse topic ko khe le jate h

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

    It's true belive me 😆😆
    you look and feel similar like my ex beautiful, intelligent who(ex) is a CSE student and now I change my branch from mechanical to (CSE) Computer Science Engineering in third semester of my btech this year
    Now I am confused why I changed my branch because of you or my ex 😂😂

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

    Mam please compiler design ke lecture lijiye na ap

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

    Thank you mam ❤

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

    Can you upload the more videos of dbms in which topic will be serializability, transaction etc.?

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

    Ma'am please continue this series
    We are waiting for array, pointers and struct in C🙏🙏🙏

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

    Ma'am please upload videos of DBMS. Please ma'am.

  • @shindejayvantbalajirao5957

    Great mam, keep working

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

    Great teaching no doubt

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

    Ma'am can you please make C++ programming video lectures

  • @Sumitkumar-yu3ps
    @Sumitkumar-yu3ps Před 3 lety

    Maam I watch your DSA video .You teaching style is far better than course teacher .I clear my concept from your video and practice probelm on geek for geek . I wish you always be happy and healthy . 🙏

    • @vaibhavbatra701
      @vaibhavbatra701 Před 3 lety

      Bhai can you suggest at what time we should start solving question on GFG....please answer

  • @Maha_s1999
    @Maha_s1999 Před rokem

    To the commenters: Prof Jenny's computations are correct. It appears that some people copied the code in a slightly different way, and that gives different results.
    The correct code is:
    int main(void)
    {
    int i=1, j=3;
    do
    {
    do
    {
    printf("%d ",j);
    j--;
    }
    while(j>0);
    i++;
    printf ("%d ",i);
    }
    while(i0);
    printf ("%d ",i++);
    }
    while(i

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

    answer to last question
    2101-12-23
    is it correct?

  • @sankalpphadke4938
    @sankalpphadke4938 Před 3 lety

    What will be the output & how?
    #include
    int main() {
    int a=2;
    int b;
    b=(a++)+(a--)+(++a)+(--a);
    printf("a=%d
    ",a);
    printf("b=%d
    ",b);
    return 0;
    }

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

    Ma'am plzz do some vidoes regarding java. I can understand the way of your teaching, easying .
    it is very difficuit to me, watching in other youtube channels regarding java . I hope that I will have reply very soon ma'am.
    Many of my friends from geethanjali college of engineering and technology face this problem due to lack of classes that we had in this covid time.

    • @sujathanarayana2286
      @sujathanarayana2286 Před 2 lety

      java is not good programming language than c programming language if you want to learn java fast learn c first of all.

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

    Mam please make the lecture on data mining and warehousing

  • @harishlohar5890
    @harishlohar5890 Před 3 lety

    #include
    int main()
    {
    int i;
    for( i = 10 ; i ; i-- )
    {
    printf("%d
    ",i);
    }
    return 0;
    }
    it will go infinite loop ?

  • @manojKumarBoddu-eu7mz
    @manojKumarBoddu-eu7mz Před 9 měsíci +1

    Output of last question 2101-12-23-34

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

    We are eagerly waiting for the next video medam

    • @vaibhavbatra701
      @vaibhavbatra701 Před 3 lety

      Do you know why video is not coming.....till many days new video has not came.....is that mam is busy in something

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

    Please complete the series we need it

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

    Output of last question is 2102-13-2

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

    Mam please make the nest lecture upload as soon as possible

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

    Is there two lectures with the same number (44) or it is a mistake of numbering??

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

    Ma'am please upload C++ course 🙏🙏Your videos are really helpful,thank you so much ❤️

  • @aliahmmed3145
    @aliahmmed3145 Před 3 lety

    I love your way in teaching and I love you 😍

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

    Java and javascript how they are different? Please explain anyone. And which to learn

  • @sairam9090
    @sairam9090 Před 3 lety

    Mam you r the best teacher 👌👌👌

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

    Thanks for the help

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

    Mam continue kardo please humara bhala ho jaiga 🙏🙏

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

      Yeah will start soon, I am stuck in village due to lockdown

    • @ManiKanta-ct3ns
      @ManiKanta-ct3ns Před 3 lety

      @@JennyslecturesCSIT ok mam... please try to start as soon as possible..

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

    Mam, please make video to implement FCFS and SJF scheduling algorithm in C language

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

    Please ma'am next tutorial python...

  • @bishalchatterjee8184
    @bishalchatterjee8184 Před 3 lety

    🔥so cool ..... thanks mam for all of your efforts

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

    mam you are brilliant

  • @abcd-pt5jg
    @abcd-pt5jg Před 7 měsíci

    Mam, j-- ka matlab hai ki pahle j ki value save hogi fir decremented hogi but mam aapne yahan output me directly decremented part hi likha hai bas???

  • @Hinawa
    @Hinawa Před 3 lety

    I don't have a device ....... do whatever you can ....... love to learn

  • @YashGupta-vb4zo
    @YashGupta-vb4zo Před 3 lety +1

    Love from Mars*😂
    Btw good work! And if someone as beautiful as u teaches frankely as a boy we like that subject!

  • @ImranKhan-py8xu
    @ImranKhan-py8xu Před 3 lety +1

    Ma'am please upload more videos of c language

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

    1:49 Lecture Starts

  • @v.svishnu2380
    @v.svishnu2380 Před 3 lety +3

    Ma'am i got placement. Thank you for all your support

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

      Heyy congrats......where u got placed😁😁

    • @v.svishnu2380
      @v.svishnu2380 Před 3 lety

      @@vaibhavbatra701 thank you experion technology

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

    Mam I have lots of problem in some topic how I ask from you....

  • @mounmounikamounmounika8307

    Output for do while loop 121102-13

  • @NaveenKumar-vx7tk
    @NaveenKumar-vx7tk Před 3 lety +4

    Please do video on Uniform Cost Search algorithm,
    TIA :)

    • @rajapamulapati2532
      @rajapamulapati2532 Před 3 lety

      Yah It will be more useful for somany students so please jennie make it as soon as possible

  • @MandipChhetri
    @MandipChhetri Před 2 lety

    legend see Ma'am last reaction 10:50

  • @yeswanthpaloji5732
    @yeswanthpaloji5732 Před 19 dny

    output is : 321102-13

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

    Please discuss about java programming according to chapter wise

  • @Aditya-kp1jo
    @Aditya-kp1jo Před 3 lety +1

    Mem how to learn English speaking like you please mem help me 🙏🙏

  • @kavyareddy5392
    @kavyareddy5392 Před 3 lety

    Maam ......pls🙏🙏🙏🙏 upload the upcoming vedios....maam......🙏🙏🙏🙏 I saw your vedios they are amazing I have understood all the topics maam.....pls.dont stop it here maam.....pls......

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

    Why no classes mam?????

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

    Please make video on regular basis

  • @I_am_Groot_.
    @I_am_Groot_. Před 3 lety +1

    Who is Jenny?!!

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

    First of all great work you're doing here but please consider investing in a higher quality camera. 720p simply isn't enough these days, most people are using 1080p,1440p and 4k displays. Thank you!

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

    Mam plz videos fast uplaod kro mam
    Regular video dekh rha hu
    Mid sem bhi paas Me hai

  • @mayankmishra5549
    @mayankmishra5549 Před 3 lety

    Happy to be a Member!

  • @psc_youtuber
    @psc_youtuber Před 3 lety

    Very nice explanation 😎

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

    What are the programming language do you know??

  • @Joe-rp9cf
    @Joe-rp9cf Před 3 lety +1

    Mam can u continue ur classes on DBMS again mam pls

  • @jangidsoni27
    @jangidsoni27 Před 3 lety

    Mam plz make video on functions in c

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

    10:07 mam my ans is 2101-12-22-33-44

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

    10:10
    2 1 0 1 -1 2 -2 3

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

      Hi
      I have a doubt
      Why it's not
      2 1 0 1 -1 2 -2 3 -3 4
      Cuz if last value of i = 3
      Then outer loop condition ( i

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

    Hlo mam please web designing ke lecture daliye 🙏🙏🙏

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

    Thanks mam for these videos ab meri back to nhi aaegi