C_35 Properties of For loop in C | C Programming Tutorials

  Рет қаралды 256,876

Jenny's Lectures CS IT

Jenny's Lectures CS IT

Күн бұрын

Пікірлер: 680
@Maha_s1999
@Maha_s1999 2 жыл бұрын
This must be the mother of all lectures on for loops in C. Thank you so much for going through the detail and possible cases!!!
@shrinivassonune1465
@shrinivassonune1465 2 жыл бұрын
#include #include void main() { int i,j; clrscr(); for(i=1,j=0 ; i
@shrinivassonune1465
@shrinivassonune1465 2 жыл бұрын
#include #include void main() { int i,j; clrscr(); for(i=1,j=0 ; i
@ruthtef4227
@ruthtef4227 3 жыл бұрын
I am so happy to come across your KZbin channel. It is very helpful. you are very incredible. The way you express everything in detail and pointing out all the possibilities are fantastic. and please also keep using English in all your videos. You make all the abstract idea concrete. Thank you so much. keep up the good work.
@harisarain5568
@harisarain5568 Жыл бұрын
big respect and big love from pakistan islamabad i an curently styding in the prestigeous uni of pakistan which kniwn as the top uni of pakistan FAST (NUCES) , but no such teacher really big love from pakistan
@fatimaahmad5734
@fatimaahmad5734 2 жыл бұрын
I am learning c++ but i always watch your videos. It helps me clear my concepts.
@kameshpatil4231
@kameshpatil4231 2 жыл бұрын
23:35 it will print jenny for infinite times not only for 4 times since no modification is made through expression 3
@mars8499
@mars8499 2 жыл бұрын
Yes. True
@lalithadwarapureddi3283
@lalithadwarapureddi3283 2 жыл бұрын
Yes
@VictoryVibe03
@VictoryVibe03 Жыл бұрын
Ya..👍🏻
@redrose5950
@redrose5950 3 жыл бұрын
Extremely significant lecture, thanks alot for your efforts. You are a wonderful teacher.
@gamingislove8120
@gamingislove8120 4 жыл бұрын
I have passed Data structure paper by just watching ur vedios thanks mam😎
@SN-edits4u
@SN-edits4u Жыл бұрын
15:48 there'll be no output as condition will be false, since we initialised i=1 and condition is i==10, so it will come out of the loop with even single iteration.
@vandanakedari3196
@vandanakedari3196 Жыл бұрын
it may be infinte loop
@Chigo-nr8jg
@Chigo-nr8jg Жыл бұрын
there will be output as == is a relational perator. it will work fine.
@yuvrajprajapati6549
@yuvrajprajapati6549 Жыл бұрын
bro can you help me because i think that as i==10 and there is a condition which says i
@nakkatejanagasri7945
@nakkatejanagasri7945 Жыл бұрын
​@@yuvrajprajapati6549what is the value of j
@sangharshtakale2824
@sangharshtakale2824 7 ай бұрын
@@nakkatejanagasri7945 0
@shahdarshil1227
@shahdarshil1227 2 жыл бұрын
Mam u are just awesome 😊 I learn c very easily from your videos, thnx for making such a informative and easy to understand lectures. Thank you!!❤️
@Anonymous_EngineerX
@Anonymous_EngineerX 2 жыл бұрын
A very amazing season mam I search this topic on u tube but your video are awesome All concept clear thanks mam👍👍👍👍👍👍👍👍👍👍❤️❤️❤️❤️❤️❤️
@isaac-victorshonowo1838
@isaac-victorshonowo1838 Жыл бұрын
@27:42 Answer is 17. @28:28 Answer is I think it should print 321 (I have a feeling I'm so wrong though). Watched and Understood ❤
@pavankalyandandavathkar9568
@pavankalyandandavathkar9568 3 жыл бұрын
Thank you so much madam😊, you cleared all my doubts regarding to the for loop
@debadritadebnath3225
@debadritadebnath3225 4 жыл бұрын
Thank you so much for this video ma'am. My all doubts regarding for loop got cleared. There's a request from my end ma'am. Actually in C Programming I don't know pointer and structure very well. If you make such informative video on these topics like this video, it will be really helpful ma'am. I'm genuinely following your C Programming course and eagerly waiting for upcoming stuffs and specially pointer and structure.
@alarezomoosamuyi8526
@alarezomoosamuyi8526 Жыл бұрын
In 27:25, the forloop for (i = 1, j = 0; i < 5, j
@howler-zu8xr
@howler-zu8xr Жыл бұрын
I am also using gcc compiler but no error in my case.. Output - i=1 j=7
@alarezomoosamuyi8526
@alarezomoosamuyi8526 Жыл бұрын
@@howler-zu8xr okay, I'll retry it..
@itx_que3nie38
@itx_que3nie38 4 ай бұрын
@@alarezomoosamuyi8526 compiler gives you error because you use semicolon after for function .
@varunkushwaha-b1g
@varunkushwaha-b1g 2 ай бұрын
bhai kaam kar joh i or j hai voh tu for loop ke bhar sirf declare kr intialise maat krna bas declare kr ajyega output
@ShubhamSingh-cd1jf
@ShubhamSingh-cd1jf 4 жыл бұрын
Thanku Mam For Data Structures Playlist . I learned basics from the starting videos of that playlist . Now I only see the title of the video and make the whole program by myself . And also all program made by me worked fine . Thanku Mam for all your efforts .
@vaibhavbatra701
@vaibhavbatra701 3 жыл бұрын
Bro can you help me i have a doubt.......i am learning c now..... which i have to learn first c++ or dsa after completing C????
@shaikeliyasbasha2822
@shaikeliyasbasha2822 3 жыл бұрын
@@vaibhavbatra701 uu should have to learn first 'c' later it is advanced uu can learn c+++
@vaibhavbatra701
@vaibhavbatra701 3 жыл бұрын
Thank you shaik
@rittikkumardas9755
@rittikkumardas9755 3 жыл бұрын
@23.59 you did a mistake. You were not updating I but you said pf Jenny will be executed 5 times only .I believe it will be infinite loop . 😶
@farzanaashraf8136
@farzanaashraf8136 2 жыл бұрын
MashaAllah
@pritampandit6297
@pritampandit6297 2 жыл бұрын
Feeling good to have a teacher like you mam...thank you for hard work for us.... After having your lecture performed it myself... for(i=1,j=0;i
@vinaygupta8532
@vinaygupta8532 2 жыл бұрын
Bhai dusre Wale ka 103212 hoga
@coding_with_bf
@coding_with_bf Жыл бұрын
I don't understand that how it returns 321. I think it will be return 212 becoz k>1 but after running it ,it returns 321 plz tell me
@sarathsarabrozz6593
@sarathsarabrozz6593 Жыл бұрын
@@coding_with_bf bro loop will end at 321 so its printed (because of that termination ' ; ')
@vaibhavzine3888
@vaibhavzine3888 Жыл бұрын
@@coding_with_bf i think u incremented k++ use there k- - because k>1
@ebube.
@ebube. Жыл бұрын
@@vinaygupta8532 you didn't put the ";" at the end of the "for" statement, so the loop ran normally and gave the result you had
@loveyourself....4200
@loveyourself....4200 2 жыл бұрын
u just cleared my doubts in only minutes...😁thank u for yourrr efforts
@kameshpatil4231
@kameshpatil4231 2 жыл бұрын
27:21 output= 1 7 28:28 output = 3 2 1
@Me_in_Canada2k24
@Me_in_Canada2k24 Жыл бұрын
I = 1,2 ,j = 0,1 , k = 3,2
@ElectricalsSolutions
@ElectricalsSolutions Жыл бұрын
but in compiler it give 103
@pmdinnesh1283
@pmdinnesh1283 Жыл бұрын
@@ElectricalsSolutions no
@shivanijha8063
@shivanijha8063 Жыл бұрын
​@@ElectricalsSolutionsbcz u don't give semicolon after for loop
@maryannemuthoni5388
@maryannemuthoni5388 Жыл бұрын
Thank you so much, i have understood for loops better thanks to you. I tried some of the things you told us to: For the first question in 6:55 int i will not be initialized so loop will not activate and there will be an error. For 9:38 it will give an error since i is not initialized. For 15:38, i==10 will give no output since condition is false from the beginning, it will go out of body of loop For 12:30 I tried the i
@harinidurairaj4195
@harinidurairaj4195 11 ай бұрын
We are very lucky to learn from you mam❤. Thank you so much.
@sabyasputnik_2004
@sabyasputnik_2004 Жыл бұрын
In 23:44 there is a mistake as we intialize the counter(i) with value 1 and in the place of condition put i
@jagadeeshkumar5629
@jagadeeshkumar5629 Жыл бұрын
right bro
@anneshadas973
@anneshadas973 Жыл бұрын
exactly
@VRoshiniEvanjelen
@VRoshiniEvanjelen Жыл бұрын
Yes bro. As condition update is not provided tht will print JENNY for infinite tyms
@subhasisbiswal4874
@subhasisbiswal4874 11 ай бұрын
Ri8
@brihaspatibhattarai5756
@brihaspatibhattarai5756 3 жыл бұрын
First time I'm commenting something.. You saved me, thank you maam
@Shivgourav
@Shivgourav 22 күн бұрын
@22:05 Mam I think that Jenny would print infinite times because there is nothing in update expression.
@18fatima15
@18fatima15 9 ай бұрын
4:55 ma'am said that if we don't initialize anywhere, we'll get no o/p. But I got an o/p when I ran the program. #include #include int main() { int i; for(;i
@ShubhamKumar-tf7qi
@ShubhamKumar-tf7qi 6 ай бұрын
yeah! same doubt in first one 4:55 did you get the reason by now
@zomatofather5026
@zomatofather5026 5 ай бұрын
@@ShubhamKumar-tf7qi you got output because you added inc dec and variable default value is 0 then 0+1=1 1+1=2 thats why you got output 01234 my english is not much better
@cortexop7347
@cortexop7347 5 ай бұрын
same int main() { int i,j; for(i=1,j=0;i==10;i++,j++) printf("%d %d ",i,j); return 0; getch(); } output (blank screen, nothing is printed) // I didn't understand the logic here mere hisaab se output hona chayie the : 10 21 32 43 54 65 76 87 98 109
@monsmo9435
@monsmo9435 5 ай бұрын
@@cortexop7347 starting se hi condition true nahi hogi to loop execute hi nhi hoga
@jaijaijaijai123
@jaijaijaijai123 4 ай бұрын
@@ShubhamKumar-tf7qi @18fatima15 @4:55 while running the program your compiler is initializing value of uninitialized variable as 0. That is why it runs. But in my case there is garbage value and hence it does not run. So, initializing becomes important
@eduamar9234
@eduamar9234 2 жыл бұрын
output for 28:28 will be 321 because k>1 will be the termination expression and accordingly loop will be executed ..value used initially for i,j,k would (1,0,3) hence k condition will be executed nd i , j value would be incremeneted up to k>1 so the the finalise value for tht would be i =3, j =2, k =1
@sukanyamandal2828
@sukanyamandal2828 Жыл бұрын
But here k>1 not k>=1 so it will consider upto the value k=2 So the ans is 2 1 2. Can you tell me , Please?
@pmdinnesh1283
@pmdinnesh1283 Жыл бұрын
@@sukanyamandal2828 1 is not greater than 1 right that's why 3 2 1 would be printed
@bharathgoudandhyala7429
@bharathgoudandhyala7429 Жыл бұрын
103 212
@rsugil8459
@rsugil8459 2 жыл бұрын
Tomorrow is my presentation on loop. Thanks a lot mam ✨.
@simbarasheblessed3872
@simbarasheblessed3872 2 жыл бұрын
your lectures are well put together, keep up the good work
@sulurulokesh7877
@sulurulokesh7877 8 ай бұрын
#include int main() { int i,j; for(i=1;i
@Mindmentorrr
@Mindmentorrr Жыл бұрын
28:20 the out put is 103 an 212 then it terminate because terminate condition is k>1
@rushipatil2406
@rushipatil2406 2 жыл бұрын
Mam u great my all concept of loops easy to solve this vedio....👍🤞
@Madmaxkkb
@Madmaxkkb 2 жыл бұрын
Thank you ma'am all doubts cleared ❤️
@ipadeolabamidele
@ipadeolabamidele Жыл бұрын
God bless you beyond measures ma, I'm just seeing this and I appreciate that I saw it here first
@rohithboppana2414
@rohithboppana2414 2 жыл бұрын
I love your teaching, i was understanding well👌👍👏👏
@ashwaniverma5512
@ashwaniverma5512 4 жыл бұрын
Your voice and content is very good 👍❤️❤️
@Binsxn
@Binsxn 7 ай бұрын
22:02 is a mistake i
@jayarogan7100
@jayarogan7100 Жыл бұрын
Mam you are teaching very easy to understand to me thank you mam
@uppeyvaishnavi9157
@uppeyvaishnavi9157 3 жыл бұрын
At 23:53 a small correction for loop will run infinite
@bhagyeshwadhale8101
@bhagyeshwadhale8101 3 жыл бұрын
Thank you so much mam... Your video is very useful for me... 🙏🙏🔥✨❤
@BeautyofLanguage
@BeautyofLanguage 3 жыл бұрын
15:47 The output will be the same, that is 1 0, 2 1, 3 2. because the second condition will be considered by the control, which will be terminated as soon as it will reach till the second value 2.
@adityaram7408
@adityaram7408 2 жыл бұрын
for me loop is not executing (i==10)
@bharatb.s
@bharatb.s 2 жыл бұрын
i have done really well with the help of u !! thank you maam
@sankalpphadke4938
@sankalpphadke4938 3 жыл бұрын
28:20 int i, j, k; for(i=1, j=0, k=3;i1 becomes false, so loop ends. i=3 j=2 k=1
@mechile_pakki
@mechile_pakki 2 жыл бұрын
Brother ther is semi colon
@zenxdraken2418
@zenxdraken2418 Жыл бұрын
Thanks man
@veerabhadrarao258
@veerabhadrarao258 2 жыл бұрын
Tq very much all the possible varieties i have seen in this video. 🙏
@emiliarose1980
@emiliarose1980 5 ай бұрын
Big thanks to you maam for all the amazing lectures and the hardworking that you're putting in your videos 1🫡🫡🫡
@chigsthanky
@chigsthanky Жыл бұрын
Thank you so much mam for these videos. It really clears our concepts and fundamentals. No one teaches like you with this much depth.
@ShahidAnsari-bf7qt
@ShahidAnsari-bf7qt 3 жыл бұрын
Even at 23:50 jenny will be printed in finitely times because here we are not incremented or given any third expression so 1will always be less then 5
@irjbobby
@irjbobby 2 жыл бұрын
wow, never thought there could be so many variations for writing for loop.
@tapaswineebehera5061
@tapaswineebehera5061 3 жыл бұрын
Output of last question will be: 103 212 Bcoz K>1 is the termination condition
@kanurihashreta8648
@kanurihashreta8648 3 жыл бұрын
how ones can u tell clearly how do u get 212
@abhisheklg1465
@abhisheklg1465 3 жыл бұрын
@@kanurihashreta8648 Answer is 321
@sanketdisale7265
@sanketdisale7265 2 жыл бұрын
@@abhisheklg1465 Why?
@shashankpatel987
@shashankpatel987 2 жыл бұрын
@@sanketdisale7265 answer will be 321 because she used semicolon ; in that program
@sandeepjalla2065
@sandeepjalla2065 2 жыл бұрын
I is 1 2 3 j is 0 1 2 k is 3 2 1
@udaysinghrana5725
@udaysinghrana5725 2 жыл бұрын
23:55 - Mam, in the given below program. you are saying that program will run only 4 times but there is no increment value which will result in infinite loop. For confirmation, i ran the program. #include int main() { printf("Hello World"); int i=1; for(;i
@bhushansopal5336
@bhushansopal5336 3 жыл бұрын
9:40 output 00 10 20 30 40 50
@mayurjogalpure2868
@mayurjogalpure2868 2 жыл бұрын
06:25 ---It will give the following output rather than no output. /*WAP to print numbers by allotting a maximum number using for loop*/ #include #include void main() { int i; for( ;i
@googleagent
@googleagent 2 жыл бұрын
have you actually wrote these syntax and run it properly ? in my case its not giving any out put
@mayurjogalpure2868
@mayurjogalpure2868 2 жыл бұрын
@@googleagent Absolutely yes! I have written and run the program and this is what I got the output. Can you please run it once and get back to me?
@googleagent
@googleagent 2 жыл бұрын
@@mayurjogalpure2868 yeah I did actually and my output differ from you , I am getting no output , output is blank and I wrote the exact syntax as mentioned .
@mayurjogalpure2868
@mayurjogalpure2868 2 жыл бұрын
@@googleagent This is strange! I am getting an output. Can't comment now.
@tunahankarali6917
@tunahankarali6917 Жыл бұрын
I'm taking output like you. ı don't know how to solve this problem
@ourculture7079
@ourculture7079 2 жыл бұрын
int i; for( ;i
@susmitasaha6759
@susmitasaha6759 5 ай бұрын
You have to initialise i with some value first..
@himanshu-x8s6b
@himanshu-x8s6b 2 ай бұрын
thanks mam for your so hard work for free content
@ABHISHEK____70-c1b
@ABHISHEK____70-c1b 2 жыл бұрын
15:25 🐕🐶 aaaaaaaòoooooo this so funny voice during lecture 🤣🤣🤣🤣🤣🤣🤣
@karthikraj4953
@karthikraj4953 3 жыл бұрын
for 6:59 , if we don't assign value for i, it will assign 0 automatically, so the output starts with 0.
@ayushjain7764
@ayushjain7764 3 жыл бұрын
How you can say that i =0 ,because in i its garbage value not 0 which would assigned because for auto staorgae class deafault value is garbage value not 0.
@anubhav1020
@anubhav1020 3 жыл бұрын
@@ayushjain7764 Its particularly for a 'for loop' if variable not initialised then it is considered by default zero by compiler. And in rest of cases if u print 'i' any garbage value would be printed
@karthikeya.inumula8649
@karthikeya.inumula8649 Жыл бұрын
Yeah , if we dont installize 'i' it takes " i=0 " , and if we dont installise both " i, j " it takes "i =0, j=1 " and after 3 variables it takes garbage value
@satyajeetjadhav4932
@satyajeetjadhav4932 3 жыл бұрын
if we dont initialize i in for loop as well as in the declaration section we get the output but it starts from 0
@codeforces8729
@codeforces8729 3 жыл бұрын
If we don't initialize at for loop it will not give no output,it will give 0 to 5 when (;i
@hombdr.pathakkshetri8893
@hombdr.pathakkshetri8893 3 жыл бұрын
yes initialization started automatically from 0
@kunalboxer4432
@kunalboxer4432 2 жыл бұрын
No it will initiate with garbage value but still code will run
@abhishekrajput8392
@abhishekrajput8392 2 жыл бұрын
Yes it will give 0 to 5
@asimbagwan9896
@asimbagwan9896 2 жыл бұрын
Thanks .your syntax work in turbo c++ .
@Cubeone11
@Cubeone11 Жыл бұрын
@@asimbagwan9896 turboc++ is shit, don't use it. instead you can use online compilers like programiz
@ShivPoojan.
@ShivPoojan. 2 жыл бұрын
mam at 23:58 jenny will printed infinite times becoz there is no increment/decrement condition
@VectorClasses01
@VectorClasses01 3 жыл бұрын
Dear mam, So thankful for your efforts for us, Mam actually @14:16when I am executing the code then the output is 4,3 But according to the given condition the answer must be different, Can you please clarify it..
@tathagatshirsale2920
@tathagatshirsale2920 Жыл бұрын
u took semicolon after for loop i think
@ummesalma6669
@ummesalma6669 Жыл бұрын
23:35 Mam it prints jenny for infinte times since there is no updation of value
@aryanraj1416
@aryanraj1416 3 жыл бұрын
23:54 output infinite loop but you told print four times?
@rushiiii4934
@rushiiii4934 2 жыл бұрын
27:17 it's output is 1,7
@vinaysharma1858
@vinaysharma1858 3 жыл бұрын
6:59 I think it’s a mistake from your side. But we indeed get an output. 0,1,2,3,4,5
@margin100px
@margin100px 3 жыл бұрын
Yeah because control automatically cosnsider 0 as a initial value as integer
@jahnavimaredla3893
@jahnavimaredla3893 3 жыл бұрын
No there was no output for me
@ShyamSundar-xd4lb
@ShyamSundar-xd4lb 2 жыл бұрын
@@jahnavimaredla3893 may be u did mistake somewhere. Output should be 012345
@srikanth-ki5ln
@srikanth-ki5ln Жыл бұрын
28:26 Output = 1 0 3 2 1 2
@sourabhkale5211
@sourabhkale5211 Жыл бұрын
9:35 Question= include int main() { int i,j=0; for(;i
@abdulrahimjalloh363
@abdulrahimjalloh363 Жыл бұрын
Question 2 answer #include void main(){ int i,j; for(i=1,j=0;i==10; i++,j++) { printf("%d %d ",i,j); } getch(); } There will be no output, because i is not equal 10. i != 10
@meharartstudio7362
@meharartstudio7362 2 жыл бұрын
Input program( for loop):- #include #include void main() { int i, j=0 ; for( i
@DineshKumar-fb2iz
@DineshKumar-fb2iz 2 жыл бұрын
😂 wrong bro
@VenugopalaB-kj5ly
@VenugopalaB-kj5ly 8 ай бұрын
Nice teacher❤❤
@reusgemi297
@reusgemi297 2 жыл бұрын
27:38 the value of i is 1 and j is 7
@dhananjaysinghrathore3325
@dhananjaysinghrathore3325 2 жыл бұрын
It will print 1 7, but the value of i will be 2 now, after the increment post the print statement.
@elavarasan_r154
@elavarasan_r154 3 жыл бұрын
28:26 The output is 321
@salonimaniyar3943
@salonimaniyar3943 3 жыл бұрын
best lacture!!! thank you ma'am!!🙂
@rukayatmuhammed3670
@rukayatmuhammed3670 Жыл бұрын
God bless the day I found your KZbin channel
@abdulrahimjalloh363
@abdulrahimjalloh363 Жыл бұрын
Question 1 answer #include void main(){ int i, j=0; for( ; i
@ashishkhati5090
@ashishkhati5090 3 жыл бұрын
23:43 Ma'am I think jenny would not be print 4 times bcuz value of i is not incrementing. 😅😅 And thanku ma'am for all things that u are doing for us.🙏🙏🙏 Lots of love and respect for u, and ur parents also who gave us such a hard working and dedicated teacher.❤️❤️❤️
@prasannasahoo0806
@prasannasahoo0806 3 жыл бұрын
It will print infinite times
@aniketh4606
@aniketh4606 2 жыл бұрын
yes it is printing infinite times.
@mbawuikestanley6930
@mbawuikestanley6930 2 жыл бұрын
Very true, I wanted to say that
@kolasiddeganesh851
@kolasiddeganesh851 2 жыл бұрын
Yeah 👍🏻
@shruthi873
@shruthi873 3 жыл бұрын
please reply for correct answers mam...it will be useful for others to check nah?😀
@prashantrathore2147
@prashantrathore2147 3 жыл бұрын
My all dought clear excellent work 👏
@isaac-victorshonowo1838
@isaac-victorshonowo1838 Жыл бұрын
@6:37 I got an output, even though according to you, I'm not supposed to get any output
@MehendiByPooja
@MehendiByPooja 2 жыл бұрын
23:35 { Int i=1; for( ;i
@vrengineers2462
@vrengineers2462 2 жыл бұрын
23:54 we didn't give any update value .so, it is an infinite loop.
@Thehimanshu00101
@Thehimanshu00101 3 ай бұрын
You said wrong at 22:10 because Jenny would be printed infinfinite times according to that condition😊
@sudhirkundurthi5150
@sudhirkundurthi5150 3 жыл бұрын
Output for the last question will be : 1 0 3 212
@ruthrakaran
@ruthrakaran 3 жыл бұрын
Use terminate symbol in for loop ;
@thilakparamasivan8409
@thilakparamasivan8409 2 жыл бұрын
@27:39 o/p is 17 And i becomes 2 after output
@BeautyofLanguage
@BeautyofLanguage 3 жыл бұрын
10:38 When no termination expression is given then the output goes till infinity.
@thekingpreetam6897
@thekingpreetam6897 Жыл бұрын
23:48 it is going tilll infinity mam
@oisenidancan9447
@oisenidancan9447 2 жыл бұрын
you are such a blessing madam
@TheExpeditionMindset
@TheExpeditionMindset 4 жыл бұрын
Hello ma'am !! Please come up with videos for competitive programming or just simple programming with focussing more on problem-solving rather than the language! :) Thanks in advance
@sulurulokesh7877
@sulurulokesh7877 9 ай бұрын
In C, the behavior of uninitialized variables is undefined. That means the value of i in your code is indeterminate. It could contain any random value from whatever was stored in memory at that location before.
@aniketmore8216
@aniketmore8216 3 жыл бұрын
at 23:46 this loop will execute till infinity bcoz we are not incrementing the value of i hence the conddition will always be true i.e 1
@shivalathanagula7153
@shivalathanagula7153 3 жыл бұрын
Yeah...!!
@sulurulokesh7877
@sulurulokesh7877 8 ай бұрын
#include int main() { int i=1,j; for(;i
@rajjaiswal4652
@rajjaiswal4652 Жыл бұрын
On 23:58 jenny will printing infinite times
@sulurulokesh7877
@sulurulokesh7877 8 ай бұрын
#include int main() { int i=1,j=0; for(;i
@akashpraveen9814
@akashpraveen9814 3 жыл бұрын
Extremely good..
@akshithaa.c
@akshithaa.c 2 жыл бұрын
Mam 28:00 ans is 1&2 after exicuting programme mam But condition >1 but 1 is equall ?
@raghubirprasadtharu1248
@raghubirprasadtharu1248 3 жыл бұрын
#include int main(){ int i; for( ; i
@aryanraj1416
@aryanraj1416 3 жыл бұрын
7:05 if we don't assign any value for " i," compiler will assign 0 automatically, so the output starts with 0...
@aryanraj1416
@aryanraj1416 3 жыл бұрын
15:47 nothing print
@koppulasupriya2480
@koppulasupriya2480 3 жыл бұрын
It is compiler dependent sometimes it is assigned to 0 or with garbage value by default
@manpreetkaur-dk5mm
@manpreetkaur-dk5mm 3 жыл бұрын
Thank you so much mam for such beautiful lecture on for loop.
@sourabhpandey2706
@sourabhpandey2706 3 жыл бұрын
Hii
@cybersecurity-jt5tl
@cybersecurity-jt5tl 2 жыл бұрын
tell me your no😘😘😘😗🥰
@vrengineers2462
@vrengineers2462 2 жыл бұрын
6:56 it prints out from 0 to 4
@neharao5233
@neharao5233 Ай бұрын
14:05 output : 10 21 32
@Ashwini_8132..
@Ashwini_8132.. 2 ай бұрын
5:20 Mam It is giving the output 👉 i=6
@rohitbohra3906
@rohitbohra3906 4 жыл бұрын
Hello mam Ur video is very helpful thank you so much
@asu253941simi
@asu253941simi 5 ай бұрын
You are so good.. Thank you
C_36 C Program to Print Table of a Number | C Language Tutorials
10:14
Jenny's Lectures CS IT
Рет қаралды 162 М.
C_37 While Loop in C (part-1) | C Language Tutorials
12:21
Jenny's Lectures CS IT
Рет қаралды 268 М.
Hilarious FAKE TONGUE Prank by WEDNESDAY😏🖤
0:39
La La Life Shorts
Рет қаралды 44 МЛН
БАБУШКА ШАРИТ #shorts
0:16
Паша Осадчий
Рет қаралды 4,1 МЛН
КОНЦЕРТЫ:  2 сезон | 1 выпуск | Камызяки
46:36
ТНТ Смотри еще!
Рет қаралды 3,7 МЛН
C_43 Need of Nested Loops in C | Nested For loop in C
18:31
Jenny's Lectures CS IT
Рет қаралды 664 М.
If you're ambitious but lazy, please watch this video...
12:57
Mark Tilbury
Рет қаралды 277 М.
Winning Google Kickstart Round A 2020 + Facecam
17:10
William Lin (tmwilliamlin168)
Рет қаралды 10 МЛН
Master Pointers in C:  10X Your C Coding!
14:12
Dave's Garage
Рет қаралды 338 М.
Loops in C++ (for loops, while loops)
12:20
The Cherno
Рет қаралды 421 М.
C_46 Arrays in C - part 1 | Introduction to Arrays
18:19
Jenny's Lectures CS IT
Рет қаралды 1 МЛН