Loops in One Shot | C Programming | Lecture 3 | Complete C Course

Поделиться
HTML-код
  • Опубликовано: 8 сен 2024

Комментарии • 1,9 тыс.

  • @CollegeWallahbyPW
    @CollegeWallahbyPW  3 месяца назад +17

    📗 Enroll Now in Decode Batches and become JOB READY:
    📌 Python with DSA: bit.ly/4bXv5xF
    📌 Java with DSA: bit.ly/49vEQkZ
    📌 C++ with DSA: bit.ly/49NnNKT

  • @Aysx.
    @Aysx. 11 месяцев назад +465

    The amount of happiness you get after a code finally runs🙂

  • @taichimashima4389
    @taichimashima4389 9 месяцев назад +102

    40:42 Problem 4 : Print the AP - 1,3,5,7,9.. upto ‘n’ terms
    50:34 **Printing AP WITHOUT using MATHEMATICAL FORMULA
    1:01:16 **Problem 7 : Print the AP - 100,97,94.. upto all terms which are positive
    1:13:07 Problem 8 : Program to find out if given number is prime or not
    1:33:10
    1:38:28 Problem 9 : Print all odd numbers from 1 to 100 using CONTINUE
    1:49:47 INFINITE LOOP
    2:03:50
    2:12:44 Problem 17 : Predict the output 8
    2:13:56 Problem 18 : Predict the output 9
    2:21:53 Problem 19 : Program to count digits of a given number
    2:31:20 Problem 20 : Program to print sum of digits of a given number
    2:39:26 Homework 7 : Program to print sum of even digits of a given number
    2:40:22 Problem 21 : Program to print reverse of a given number
    2:53:27 Homework 8 : Program to print sum of given number and its reverse
    2:54:04 Problem 22 : Print sum of series - 1+2-3+4-5+6.. upto ‘n’ terms
    3:07:40 Problem 23 : Print the factorial of given number
    3:16:09 Homework 9 : Print the factorials of first ‘n’ numbers
    3:21:43 Problem 25 : Print the nth fibonacci number
    3:38:36 Homework 10 : Print the first ‘n’ fibonacci numbers
    3:39:39 Problem 26 : Given 2 numbers ‘a’ and ‘b’ , find ‘a’ raised to the power ‘b’.
    3:48:09 Problem 27 : Print all alphabet and their corresponding ASCII values
    3:55:31 Homework 11 : Print all armstrong numbers between 1 and 500

    • @narendrasoni8071
      @narendrasoni8071 7 месяцев назад +10

      Itni mehnat kyu krta ho jab already commented hi toh😊

    • @AmitKumar-ec7le
      @AmitKumar-ec7le 7 месяцев назад +1

      Gajab bru

    • @NageshDaberao
      @NageshDaberao 7 месяцев назад +1

      Sir Excellent 👌 teaching 😊

    • @aaqibahmed4572
      @aaqibahmed4572 5 месяцев назад +1

      kisi ne homework solve kiya hai? please kese hoga print table of n . aur odd number wala .

    • @Heckvlogs
      @Heckvlogs 4 месяца назад +2

      Comment out krde Bhai apna comment😂😂

  • @not_human...
    @not_human... Год назад +43

    at 1:57:21 there was a semi colon just after the condition of while statement while(i

    • @saurabh_ch
      @saurabh_ch Год назад +1

      Yes you got that right even I was thinking the same.

    • @Unfiltered2005
      @Unfiltered2005 Год назад

      Same here

    • @sachinnamdeo3746
      @sachinnamdeo3746 9 месяцев назад

      Yes , you got it
      I am thinking also

    • @piyu2003
      @piyu2003 9 месяцев назад

      53:00 can someone explain the without using maths method?
      Nhi samajh aaya

    • @alifhossain320
      @alifhossain320 6 месяцев назад

      yes you are right

  • @user-uk5kk4ez7n
    @user-uk5kk4ez7n 11 месяцев назад +70

    I am student of IITJ and i have seen your video ,you provide very good content to the students to buid their career
    thanks for providing good code.
    happy coding!!

    • @khawaishsoni7873
      @khawaishsoni7873 10 месяцев назад +3

      nice to meet you i am from IIT BHU

    • @MERAZMESAAGE
      @MERAZMESAAGE 10 месяцев назад +13

      I am from home
      After taking 2 years of gap

    • @harshitagarwal11oct
      @harshitagarwal11oct 9 месяцев назад +2

      nice to meet you I am from IIT K

    • @8dsong196
      @8dsong196 7 месяцев назад +1

      I am from vit Vellore

    • @ManjeetSingh-xz5tc
      @ManjeetSingh-xz5tc 7 месяцев назад +1

      From VNIT Nagpur, are you people allowed a reference book in exam as here our clg is taking this subject very seriously they make such a paper that they even allow us to carry a book in the exam hall, I am just wondering what's happening in IIT

  • @mohammadfaisaliqbal9967
    @mohammadfaisaliqbal9967 Год назад +112

    If you have a good mentor who can teach you in the most appropriate way then everything looks to much easy..❤

    • @shubhamkumar3139
      @shubhamkumar3139 Год назад +2

      bhai 2:21:25 m sir ne ki bola manvi mam ne ek lecture karwaya hai operators ke upar.........bhai vo video ka link de sakte ho bhai merko mil nahi raha hai video vo wala

    • @mohammadfaisaliqbal9967
      @mohammadfaisaliqbal9967 Год назад +1

      @@shubhamkumar3139Bhai i think sir janvi mam ki Java playlist ki baat kar rahe Hain..wait Karo main link send karta hoon😇

  • @sahil-anurag
    @sahil-anurag Год назад +1076

    who are from semester 1 student?

  • @samislost550
    @samislost550 Год назад +223

    Sir Jaldi Jaldi Video Laiye Aap C Language me itna interest Bana diye hai ki wait nhi ho raha and Exam bhi hai Jan me sir So please Complete This series as soon as possible...❤️✨

    • @jayw698
      @jayw698 Год назад +3

      @@RohitSingh-jg3sw learn python,,
      It's very easy language,,
      Easily samaj aa jayegi 😊,,
      &
      Then DSA bhi python me kar sakte ho,,
      Python & javascript is most popular language now

    • @samislost550
      @samislost550 Год назад +8

      @@jayw698 but he's saying that he's in 1st year.....So what will he do in exam....Maybe C Language is 1st year syllabus

    • @jayw698
      @jayw698 Год назад +12

      @@samislost550 exam ke liye pyqs dekho ,,,
      Jitni c language important hai utna karke nipta do,,
      C is important just for college exam,,
      You should not give much importance to college exam,, college ka syllabus prepare karne se placement nahi hoga
      One more suggestion-
      C language me tumhe coding continue nahi karni chahiye,,, iske baad c++ pe switch kar jao
      Reason - c++ is object oriented programming & c++ has STL library which will make data structures easy
      C & c++ are 80% same hai,, so switching from c to c++ is easy,,,
      Yeah one more thing c language me dikkat ho rahi hai to python kar sakte ho ,,

    • @samislost550
      @samislost550 Год назад +6

      @@jayw698 Thank You So Much For Suggestions ❤️.....Gonna do it right now
      Starting to learn C++ but continuing C also.......Waise bhi sir 10 din me upload karte hai c ka to cover ho jayega.....

    • @jayw698
      @jayw698 Год назад

      @@samislost550 👍

  • @AMBRATLALROOPCHANDANI
    @AMBRATLALROOPCHANDANI 2 месяца назад +6

    solution of hw at 2:53:00 is
    int n;
    printf("enter the number ");
    scanf("%d",&n);
    int a=n;
    int r=0;
    int x;
    while(n!=0){
    x=n%10;
    r=r*10;
    r=r+x;

    n=n/10;

    }

    printf("the reverse of number is %d
    ",r);
    printf("the sum of both is %d",r+a);

  • @arya60
    @arya60 Год назад +51

    Bhot bhot dhanyawad sir jii ❤️🥰👍
    We can never forget the role of teachers like youuu in building our career....

  • @sayrasumiya2881
    @sayrasumiya2881 Месяц назад +2

    2:21:53 Problem 19 : Program to count digits of a given number--------there is problem.if n=0 then the num of digit is 1.
    int n,count=0;
    scanf("%d",&n);
    if(n==0){
    printf("the num of digit is: 1");
    }
    else {while(n>0){
    n=n/10;
    count++;
    }
    printf("the num of digit is :%d",count);
    }

  • @indhoneyyt737
    @indhoneyyt737 Год назад +52

    Sir jaldi jaldi c language pura complete kara dijiye mid sem exam coming soon🥰❤️

  • @JaydevsinhMahida
    @JaydevsinhMahida Месяц назад +19

    I JUST PERFECTLY USED LOOPS :
    1. JAY SHRI RAM
    2. JAY SHRI RAM
    3. JAY SHRI RAM
    4. JAY SHRI RAM
    5. JAY SHRI RAM
    6. JAY SHRI RAM
    7. JAY SHRI RAM
    8. JAY SHRI RAM
    9. JAY SHRI RAM
    10. JAY SHRI RAM
    11. JAY SHRI RAM
    12. JAY SHRI RAM
    13. JAY SHRI RAM
    14. JAY SHRI RAM
    15. JAY SHRI RAM
    16. JAY SHRI RAM
    17. JAY SHRI RAM
    18. JAY SHRI RAM
    19. JAY SHRI RAM
    20. JAY SHRI RAM
    21. JAY SHRI RAM
    22. JAY SHRI RAM
    23. JAY SHRI RAM
    24. JAY SHRI RAM
    25. JAY SHRI RAM
    26. JAY SHRI RAM
    27. JAY SHRI RAM
    28. JAY SHRI RAM
    29. JAY SHRI RAM
    30. JAY SHRI RAM
    31. JAY SHRI RAM
    32. JAY SHRI RAM
    33. JAY SHRI RAM
    34. JAY SHRI RAM
    35. JAY SHRI RAM
    36. JAY SHRI RAM
    37. JAY SHRI RAM
    38. JAY SHRI RAM
    39. JAY SHRI RAM
    40. JAY SHRI RAM
    41. JAY SHRI RAM
    42. JAY SHRI RAM
    43. JAY SHRI RAM
    44. JAY SHRI RAM
    45. JAY SHRI RAM
    46. JAY SHRI RAM
    47. JAY SHRI RAM
    48. JAY SHRI RAM
    49. JAY SHRI RAM
    50. JAY SHRI RAM
    51. JAY SHRI RAM
    52. JAY SHRI RAM
    53. JAY SHRI RAM
    54. JAY SHRI RAM
    55. JAY SHRI RAM
    56. JAY SHRI RAM
    57. JAY SHRI RAM
    58. JAY SHRI RAM
    59. JAY SHRI RAM
    60. JAY SHRI RAM
    61. JAY SHRI RAM
    62. JAY SHRI RAM
    63. JAY SHRI RAM
    64. JAY SHRI RAM
    65. JAY SHRI RAM
    66. JAY SHRI RAM
    67. JAY SHRI RAM
    68. JAY SHRI RAM
    69. JAY SHRI RAM
    70. JAY SHRI RAM
    71. JAY SHRI RAM
    72. JAY SHRI RAM
    73. JAY SHRI RAM
    74. JAY SHRI RAM
    75. JAY SHRI RAM
    76. JAY SHRI RAM
    77. JAY SHRI RAM
    78. JAY SHRI RAM
    79. JAY SHRI RAM
    80. JAY SHRI RAM
    81. JAY SHRI RAM
    82. JAY SHRI RAM
    83. JAY SHRI RAM
    84. JAY SHRI RAM
    85. JAY SHRI RAM
    86. JAY SHRI RAM
    87. JAY SHRI RAM
    88. JAY SHRI RAM
    89. JAY SHRI RAM
    90. JAY SHRI RAM
    91. JAY SHRI RAM
    92. JAY SHRI RAM
    93. JAY SHRI RAM
    94. JAY SHRI RAM
    95. JAY SHRI RAM
    96. JAY SHRI RAM
    97. JAY SHRI RAM
    98. JAY SHRI RAM
    99. JAY SHRI RAM
    100. JAY SHRI RAM
    101. JAY SHRI RAM
    102. JAY SHRI RAM
    103. JAY SHRI RAM
    104. JAY SHRI RAM
    105. JAY SHRI RAM
    106. JAY SHRI RAM
    107. JAY SHRI RAM
    108. JAY SHRI RAM

    • @A-A70
      @A-A70 9 дней назад

      Bro🤦🏻

    • @vishnusharma2203
      @vishnusharma2203 8 дней назад

      bro and that too 108 times haha...JAY SHRI RAM

    • @Rahul-sw9uq
      @Rahul-sw9uq День назад

      How you use dots •

  • @samislost550
    @samislost550 Год назад +98

    We want Lecture 4 Sir...Maza Aa Gaya Sir is lecture me🙌❤️

  • @MahendrasinghBhadoriya-zp6ly
    @MahendrasinghBhadoriya-zp6ly 2 месяца назад +3

    sir mai aapke video starting se dekh raha hu or muje pahle c language nahi aati thi but aapke video starting se dekhney ke baad aab muje c language learn karney mai or usse question solve karney mai bahut acha lag raha hai thank you so much sir 😁😄😇♥♥

  • @malvado8267
    @malvado8267 Год назад +11

    2:53:30 store value of n in any other variable ,for example a.
    int a=n;

    • @rohitms5057
      @rohitms5057 Год назад +2

      🙏

    • @gujaratimotivation1338
      @gujaratimotivation1338 Год назад +1

      Thanks

    • @arpitb75
      @arpitb75 Год назад

      Thanks bhai 🙂

    • @aryangupta6660
      @aryangupta6660 3 месяца назад

      Can you give us solution?

    • @AMBRATLALROOPCHANDANI
      @AMBRATLALROOPCHANDANI 2 месяца назад

      @@aryangupta6660 int n;
      printf("enter the number ");
      scanf("%d",&n);
      int a=n;
      int r=0;
      int x;
      while(n!=0){
      x=n%10;
      r=r*10;
      r=r+x;
      n=n/10;
      }
      printf("the reverse of number is %d
      ",r);
      printf("the sum of both is %d",r+a);

  • @lakshkumar3118
    @lakshkumar3118 2 месяца назад +5

    Sir mst explanation very very thanks 🙏🙏🙏 kaise khu etna acha content ko dekh ke

  • @himanshudeepanshusingh9894
    @himanshudeepanshusingh9894 Год назад +12

    worth it lecture to watch for freshers and even for those who just want to clear their basics !!
    Thank u sir...❤❤❤❤❤❤

  • @MattamSujitha
    @MattamSujitha 5 месяцев назад +2

    Sir in 2nd question
    predict the output for while loop..
    Int I=1;
    While(I

  • @kiyaekobenzai9821
    @kiyaekobenzai9821 Год назад +20

    such a masterpiece this lecture was! sir you made each and every concept seem so easy.

  • @mountaingreek747
    @mountaingreek747 4 месяца назад +8

    1:11:53 for those having error in this problem👇🏻
    Make sure you have use printf(a=a*(1.0/2));
    The issue is due to integer division. In C, when you divide two integers, the result is also an integer, and any fractional part is truncated. So (1 / 2) results in 0 rather than 0.5. Consequently, a remains unchanged since it's multiplied by 0, resulting in an infinite loop of printing 100.
    (Taught in Lecture 1 i guess🤔)

  • @Rahul_Raj__
    @Rahul_Raj__ Год назад +4

    1:56:52 Yaha par while loop infinite mode me chala jayega just because of that semicolon (;) .... Infinite mode me islie jayega kyuki i ki value hamesha 1 hi rhegi aur condition ko baar baar satisfy karega i.e. 1 is always less than 10.

  • @MUSIC_MAYUR
    @MUSIC_MAYUR 8 месяцев назад +8

    The amount of happiness you get after a code finally runs🙂okay

  • @AYUSHKUMAR-dj1jy
    @AYUSHKUMAR-dj1jy Год назад +25

    As a first year i feel that this is best and detail video on loop in the youtube and question are also good
    maza aaya padh ke 😃

  • @user-ch2zh9gx3i
    @user-ch2zh9gx3i Год назад +18

    Sir you are all-rounder !😊
    You can teach anything whether it's the maths or any other programming language!!
    Really helpful!!

    • @user-ch2zh9gx3i
      @user-ch2zh9gx3i 11 месяцев назад +1

      @gurukripakevalam195 Yeah! obviously!!👍

  • @sumontagarai9228
    @sumontagarai9228 Год назад +8

    1:56:48 sir in this question there is semi colon in the end of line of while so the while loop will not run .
    Then there will be no output

    • @nishantsingh3216
      @nishantsingh3216 Год назад

      While loop is run infinite times

    • @sumontagarai9228
      @sumontagarai9228 Год назад

      @nishantsingh3216 as there is a semi colon at the end of the while loop for that it will not run . U can check it in ur compiler.❤

    • @nishantsingh3216
      @nishantsingh3216 Год назад

      @@sumontagarai9228 it will run and it will run infinite times but nothing print.

    • @sumontagarai9228
      @sumontagarai9228 Год назад +1

      Yaa bro i have now seen it thanks for your cooperation.❤️

    • @nishantsingh3216
      @nishantsingh3216 Год назад +1

      @@sumontagarai9228 I write that code in upper comment if u write printf("%d ", i) in between while(I

  • @harshitaverma4530
    @harshitaverma4530 2 месяца назад +2

    2:53:10 sir for this que i have made a different code ->
    while(n!=0){
    lastDigit=n%10;
    printf("%d",lastDigit);
    n=n/10;
    } this is working properly!!

  • @ehsaas_khaas
    @ehsaas_khaas Год назад +5

    I'm just dealing with this subject becoz of your content and the way of teaching is commendable sir .
    "Aap same us feel ke satb samjhate h jis tarah hum first time kisi language ko padhte wakt feel karte hain, ek alag he world lagta h pehel baar ye sab dekh or padh kar

  • @anshulshrivastava5481
    @anshulshrivastava5481 10 месяцев назад +2

    At 2:15:46 output of the question is:
    x=3,y=1
    x=1,y=3
    x=0,y=4
    x=-1,y=5

  • @learnskills1061
    @learnskills1061 Год назад +13

    Alhumdulilah complete 😍😍

  • @mohammadsadiq6242
    @mohammadsadiq6242 8 месяцев назад +2

    2:21:53 Problem 19 : Program to count digits of a given number
    2:31:20 Problem 20 : Program to print sum of digits of a given number
    2:39:26 Homework 7 : Program to print sum of even digits of a given number
    2:40:22 Problem 21 : Program to print reverse of a given number
    2:53:27 Homework 8 : Program to print sum of given number and its reverse
    2:54:04 Problem 22 : Print sum of series - 1+2-3+4-5+6.. upto ‘n’ terms
    3:07:40 Problem 23 : Print the factorial of given number
    3:16:09 Homework 9 : Print the factorials of first ‘n’ numbers
    3:21:43 Problem 25 : Print the nth fibonacci number
    3:38:36 Homework 10 : Print the first ‘n’ fibonacci numbers
    3:39:39 Problem 26 : Given 2 numbers ‘a’ and ‘b’ , find ‘a’ raised to the power ‘b’.
    3:48:09 Problem 27 : Print all alphabet and their corresponding ASCII values
    3:55:31 Homework 11 : Print all armstrong numbers between 1 and 500

  • @user-gg6fv3ii6b
    @user-gg6fv3ii6b Год назад +15

    You have proved that pw's lectures are best 😊.

  • @natur613
    @natur613 5 месяцев назад +2

    Mja aa gya❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤

  • @kumar0752
    @kumar0752 Год назад +6

    Generalized Code For Printing Reverse Of A Number :
    lastdigit = number % 10 ;
    reverse = (reverse *10) + lastdigit ;
    n= n/10 ;

    • @nishantsingh3216
      @nishantsingh3216 Год назад +1

      In this code we do not print reverse of 2000 we get 2 as answer or any number which last with zero will not work in this code. Write code for every number not for specific number.

  • @ridazaidi7995
    @ridazaidi7995 4 месяца назад +2

    I watched many videos on RUclips, but no one explained every topic so well, sir, you explained it very well, thank you very much. ❤❤

  • @NeelamSharma-ub2sf
    @NeelamSharma-ub2sf Год назад +11

    Sir PW is the best
    Waiting for lecture -4👍👍

  • @dipikamaji5794
    @dipikamaji5794 7 дней назад

    Apke jaisa sir koye concept clear nhi kr skta ....ap best ho..❤

  • @Rajveer-yy7ui
    @Rajveer-yy7ui Год назад +6

    Completely dependent on you for C programming. THANK YOU SIR.

  • @ProbablyRon
    @ProbablyRon 6 месяцев назад +4

    1:57:06 No output as while is already terminated in the first line.

  • @vikasshukla2170
    @vikasshukla2170 Год назад +11

    Really it is very nice to learn coding with you sir❤❤

  • @rudrakshdd1025
    @rudrakshdd1025 2 месяца назад +1

    1:57:31....Here we would not get any output at all because there's a semicolon after while, so the code inside curly braces{} would not be executed by the compiler

  • @ShivanshSingh-os5nd
    @ShivanshSingh-os5nd Год назад +11

    Watched the whole lecture 🎉🎉🎉🎉 Long but up to point ❤❤

  • @ShantanuGorai-qr3vo
    @ShantanuGorai-qr3vo Месяц назад +1

    1:57:28 there will be no output as a semicolon ( ; ) is placed after while statement, so the while loop will not execute

  • @sahilrepuriya3205
    @sahilrepuriya3205 Год назад +13

    what a amazing lecture sir falling in love with coding now😍

  • @jawwadfarooqui2606
    @jawwadfarooqui2606 21 день назад +1

    1:57:23 output will be not generated due to semicolon after while condition

  • @trishitamaity3496
    @trishitamaity3496 Год назад +8

    Sir please continue this series. your teaching style is outstanding.

  • @sahil_9645
    @sahil_9645 День назад

    3:37:17 Sir just put
    i

  • @winsomeemerald9093
    @winsomeemerald9093 Год назад +7

    sir whole lecture is great but please make a separate lecture for switch, go to etc... miscellaneous which is important for exam point of view..

  • @PramodSharma-ut9ud
    @PramodSharma-ut9ud 11 месяцев назад +4

    Thank you so much sir for this amazing lecture.🙂 This lecture is very helpful for students.

  • @mrcow6531
    @mrcow6531 Год назад +15

    2:15:52 The output is- 3 1, 1 3, 0 4, -1 5 not only 3 1

    • @Iqmaverick
      @Iqmaverick Год назад +1

      because of garbage value of z i guess

    • @sahilnandy5550
      @sahilnandy5550 Год назад +3

      sir forgot to repeat the loop

    • @mr.techeditor8763
      @mr.techeditor8763 10 месяцев назад +1

      Yes loop will repeat again

    • @aishujr
      @aishujr 7 месяцев назад +1

      yes loop will repeat again

    • @aryansharma-qi9wd
      @aryansharma-qi9wd 6 месяцев назад

      hw question output is-40, 31, 22, 13, 04

  • @AjEEtSinGH_717
    @AjEEtSinGH_717 Месяц назад +1

    1:30:01 we can use else
    {
    printf(""It is a prime number);
    break;
    }

  • @BijoyPantu
    @BijoyPantu Год назад +4

    Maza aa gaya sir... And you don't need to improve yourself sir... You are really a very good teacher... Loop pura acche se samjha diya apne

  • @annann256
    @annann256 3 месяца назад +1

    Sir in 1:57:15 it will be an infinite loop, as there's a semicolon after while.

    • @AdarshSingh-tm2ir
      @AdarshSingh-tm2ir 3 месяца назад

      Bhai Mera to koe output hi nahi de raha hai😂😂

  • @shiwamupadhyay791
    @shiwamupadhyay791 Год назад +19

    Best teacher for coding I have ever seen ♥️

  • @sabyasachisingha5996
    @sabyasachisingha5996 10 месяцев назад +5

    But sir in wap to reverse a given number 2:49:00
    *If i want to reverse 120 it gives 21..and not 021*
    Other non zero digit are going good

  • @amardubey9714
    @amardubey9714 8 месяцев назад +1

    Sir itna saral bhasha me shikhaye pura dimak me feed ho gaya 😢😢itna egy aaj tk kisi ne nahi bataya 😢thanku so much sir❤❤🙏🙏🙏

  • @prahladkhapsitamarhi6705
    @prahladkhapsitamarhi6705 Год назад +6

    Thankyou ❤️ so much sir for this lecture bcz before this lecture i have many common doubt in loop but I watch this lecture all my doubt clear 😊😊

  • @mdkounain1029
    @mdkounain1029 8 месяцев назад +1

    2:15:51 the output will be
    Space
    31
    13
    04
    (-1) 5

  • @Studyislife
    @Studyislife Год назад +11

    Although I am learning Java from Manvi Ma'am...But this series is really very helpful for revision of concepts and practice of questions...Thank you so much sir for this series...

  • @darkvintage2133
    @darkvintage2133 8 месяцев назад +1

    3:35:42 here you can put b=0 it will still work as well

  • @savvy2022
    @savvy2022 Год назад +10

    2:40:18 HW Answer:-
    int n;
    printf("put a number : ");
    scanf("%d",&n);
    int sum=0;
    int ld=0;
    while(n!=0){
    ld=n%10;
    if(ld%2==0){
    sum=sum+ld;}
    n=n/10;
    }
    printf("sum of even digits : %d",sum);

    • @unknown_facts7257
      @unknown_facts7257 10 месяцев назад

      Your program will be wrong for the number 2345

    • @mdfardin1891
      @mdfardin1891 9 месяцев назад

      who told you that it prints 6@@unknown_facts7257

    • @anwesha9580
      @anwesha9580 3 месяца назад

      Thank you!

  • @armaan39000
    @armaan39000 Месяц назад

    1:07:29 different thing .(multiple variables in for loop)
    3:51:04 what is typecasting

  • @Programming_Pro_
    @Programming_Pro_ 4 месяца назад +11

    Semester 2 ✊

  • @mathshunt1904
    @mathshunt1904 Месяц назад +1

    Thank you sir this video help me a lot too learn very good explanation who even doesn't know any basics of c they can also understand easily ❤🙏🏻🙏🏻🥺

  • @nutankumari6343
    @nutankumari6343 Год назад +9

    Maza aa Gaya Sir ❤ Thank you for the amazing lecture

  • @employedarmy8826
    @employedarmy8826 11 месяцев назад +1

    printf("maza aya sirji ,Your all efforts for us are apperciated");

  • @AbhaySingh-om3vw
    @AbhaySingh-om3vw Год назад +4

    This is a very informative lecture.
    Thank you sir!

  • @BaduguGarima
    @BaduguGarima 16 дней назад

    You are the best teacher that I have ever seen.❤❤
    Everything iss very clear carry on .

  • @priyanshukumar6679
    @priyanshukumar6679 Год назад +4

    Sir your language is very simple we want more videos asap 😄😄😄😄

  • @yuktasoni5040
    @yuktasoni5040 10 месяцев назад +2

    The way u teach ❤❤❤❤❤ thanku sooooooo muchhhhh sirrrrrrrrrrr 🎉 u r awesome ❤️🥰

  • @statusyt1188
    @statusyt1188 8 месяцев назад +4

    I AM OF CLASS 10 BUT ALSO I CAN UNDERSTAND THIS PROGRAMING VIDEO RESPECT TO SIR 😍😁

    • @KeshavSingh-mf7ps
      @KeshavSingh-mf7ps 8 месяцев назад

      Bro plss focus on your studies first😢 then jump on side courses or you will end fuc.ed up your brain.. or else your choice

  • @Voice_beauty49.
    @Voice_beauty49. 9 месяцев назад +2

    Thanks sirrr bhut sare doubts clear hua aapke pdane se👌👌

  • @SagarSAGAR-ms2pn
    @SagarSAGAR-ms2pn 9 месяцев назад +3

    thank you sir best explaination

  • @Aachal_Sahni
    @Aachal_Sahni Месяц назад

    Thank you sir 🙏
    Maza aa gaya 😊
    Avi tak me ne pura lecture complete dekh liya 😊
    Or saari chije samajh aa gayi .

  • @TheFlavorFactory-Ankita
    @TheFlavorFactory-Ankita 8 месяцев назад +4

    Sir we need a teacher like you 😀

  • @averagestudent118
    @averagestudent118 11 месяцев назад +1

    for 3:54:52 this can be a easier approach
    for (int i = 65; i

    • @sohelpatel834
      @sohelpatel834 11 месяцев назад

      bhai prime number int a naam ka variable kaise liya hai samaj nhi aara can u explain mein bro

  • @thestarary9412
    @thestarary9412 4 месяца назад +30

    Who is doing this in second year 😂😂

    • @SarthakBarad
      @SarthakBarad 2 месяца назад +1

      Is this needed in 2Year i m in 2 sem of 1 year and preparing it for exam so tell me if it imp then i should take it seriously

    • @aniwayindia
      @aniwayindia 2 месяца назад

      😢😅

    • @NikhilSingh...
      @NikhilSingh... Месяц назад

      You😂😂😅

    • @vandanpatel4158
      @vandanpatel4158 Месяц назад +1

      3rd year ☠️

    • @madavgupta200
      @madavgupta200 27 дней назад +4

      after degree💀

  • @user-wk5ir8uv9i
    @user-wk5ir8uv9i 6 месяцев назад

    Hamlog jaisa kamjor students ke liye aap jaise teacher hi ek ummid ka Kiran hote h sir
    Thank you so much sir ❤❤

  • @loservlogs69
    @loservlogs69 Год назад +5

    Amazing lecture guruji🙏🙏

  • @Arpit-cj8sm
    @Arpit-cj8sm Месяц назад

    my answer to fibonacci include
    int main(){
    int a=1;
    int b=1;

    int i;
    int n;
    printf("enter number of terms to print: ");
    scanf("%d",&n);
    printf("1> 1
    2> 1
    ");
    for(i=1;i

  • @CHANDRAPRAKASH-fr6cj
    @CHANDRAPRAKASH-fr6cj Год назад +7

    You understand the feelings of the student. Thank you so much sir 💖💖💯💯

  • @MrPerfect-tq7wb
    @MrPerfect-tq7wb 2 месяца назад

    Sir kinti baar shukriya kahu aapko, itne saare acche questions.Ekdam se sab chamak gya. Maja aa gya lecture number 3 krke. Again THANK YOU SIR.

  • @nidhiraj9686
    @nidhiraj9686 Год назад +14

    sir maza aa gya, please bring lec4 asap and thank you so much

  • @diyathakkar1224
    @diyathakkar1224 4 месяца назад +1

    Thank you sir, for upload deeply study videos for c programming ..🙂🙏

  • @aaryanyadav3732
    @aaryanyadav3732 Год назад +5

    I am waiting .. For new lecture... 🤗🤗

  • @bhavi6115
    @bhavi6115 Месяц назад

    Thank you so much sir 🙏🙏❤❤😊😊 Excellent lec 💯🤩👍

  • @kavishlad3048
    @kavishlad3048 6 месяцев назад +42

    2024 batch attendance here....❤

  • @soil1027
    @soil1027 11 месяцев назад

    sir Your teaching skills is really incredable ,,, mujhe c program se dar lagta tha logic samaj main nahi ata tha then upka ye video mera sara problem solve kar diye loop ka thank you sir

  • @madhubera4808
    @madhubera4808 5 месяцев назад +3

    Who are now second semester? ❤and understand this lecture very easy way 💚

  • @dhairyabaranwal1866
    @dhairyabaranwal1866 8 месяцев назад +1

    Thank you sir. this lecture took a lot of time to complete. As I am currently in my comfort zone at home. I took 5 days to complete this one lecture. But I will study more from now.

  • @InstaFamilyClips
    @InstaFamilyClips Год назад +6

    Thank you sir for your efforts 💗

  • @Infinity-ug6uj
    @Infinity-ug6uj 3 дня назад +2

    Maza aa gaya Sir same C++ bhi karwao 😆😁

  • @akshatgoel180
    @akshatgoel180 3 месяца назад +2

    1:57:25 the while loop does not work because of ; int the code so the statement will execute only one time

    • @OmRaval-pi4cw
      @OmRaval-pi4cw 3 месяца назад +1

      Execute hi nhi hoga there will be no output

  • @mr.satyam7888
    @mr.satyam7888 5 месяцев назад +31

    Who are from 2nd semester students

  • @asadshaikh2896
    @asadshaikh2896 6 месяцев назад

    21:15:40
    int x = 4 , y=0 ,z;
    while(x>=0){
    x--;
    y++;
    if(x==0)
    continue;
    else printf("
    %d%d",x,y);
    Sir out put is
    31
    22
    13
    -15
    Because loop repeat till the x>=0

  • @neelamdhiman4865
    @neelamdhiman4865 Год назад +5

    Sir web development course when? Eaglerly waiting for it

  • @arindamdeka8095
    @arindamdeka8095 8 месяцев назад +2

    Thank you so much Sir for this amazing Lecture 💓

  • @sanyabaranwal5768
    @sanyabaranwal5768 Год назад +3

    Sir at 1:57:21 while is having semicolon over there...then it will terminate the line??...then how output is coming???

    • @Niuse_bhai
      @Niuse_bhai 11 месяцев назад

      Right i also think it's terminate

  • @crazyyqueen1757
    @crazyyqueen1757 11 дней назад +1

    done with this lec
    started=28/8/24
    completed=8/9/24

  • @ayushsahu1596
    @ayushsahu1596 Год назад +5

    2:53:47 anyone give the code