for and while Loops
Vložit
- čas přidán 22. 07. 2024
- C Programming & Data Structures: for and while Loops in C programming.
Topics discussed:
1) Importance of loops.
2) The syntax of While loop.
3) Working of While loop.
4) Example of While loop.
5) The syntax of For loop.
6) Working of For loop.
C Programming Lectures: goo.gl/7Eh2SS
Follow Neso Academy on Instagram: @nesoacademy(bit.ly/2XP63OE)
Follow me on Instagram: @jaspreetedu(bit.ly/2YX26E5)
Contribute: www.nesoacademy.org/donate
Memberships: bit.ly/2U7YSPI
Books: www.nesoacademy.org/recommende...
Website ► www.nesoacademy.org/
Forum ► forum.nesoacademy.org/
Facebook ► goo.gl/Nt0PmB
Twitter ► / nesoacademy
Music:
Axol x Alex Skrindo - You [NCS Release]
#CProgrammingByNeso #CProgramming #forLoop #whileLoop
Once more i rely on amazing Indian programming tutorials to survive my course. Thank you Neso!
It's NESO.
@@itsgamingtime..7001 fixed it now! Keep in mind I posted this about a year ago.
We all follow. It's one of the best
YAYA BLABLAjust kidding
Ok
@@lorddank1121
I am studying only because of these lectures,before this I wasn't interested in coding at all.But now I m loving it.
Same with me dude.❤
Your teaching style is not only engaging, but also incredibly effective. The way you present complex concepts with clarity and enthusiasm has truly enhanced my understanding of the C programming language. And I would like to say, thank you.
The best tutorial class I have watched ever....very simple to understand and remember.....thankyou neso academy ❤️
At this point, it is fair to say Nesoacademy is the best computer programming tutorials i've seen so far.🥺
I've never seen anyone take their time to explain coding tutorials visually like this. thank you
thanx neso...your tutorials most valuable for my degree...again thank you very much
You're indeed the best programming teacher ever for this twenty first century . Thanks Sir 🎉❤
00:00 Loops are important for automating repetitive tasks
00:48 Automate sending notices to employees using loops
01:35 Loops are required for repeating tasks
02:26 A while loop is used to print values in descending order
03:22 The for loop decrements a value and checks a condition until it is false.
04:15 While and for loops have similar functionality
05:05 Explanation of while loop initialization and condition checking
05:54 For loop and while loop are the same, but differ in number of lines of code.
wow, this is the most concise tutorial I have found on youtube! Thank you!
Guys they are providing everything for free and some idots dislikes these types of videos. I think they need mental treatment
@Chung Rons yeah I don’t give a damn
@Chung Rons how did you do it ?😳
Such a clear and well constructed tutorial. Thank you so much
I really like how you compared how 2 different loop types accounts for 1 output.
You are one of the best c language tutorials...also your way of speaking iss too good
Thks sir
Awesome👌, lacking words to describe my feelings of having this program right now. 😍
thanks a ton NA!! this tutor made me fall for c programming and optimistic reg rest of the prog languages. thats power of an incredible educator... lots n lots of love and huge respect!! keep up 💌🙏
Our mechatronics class just watched this explanation, and it really helped clarify while and for loops; thanks !
the most understandable lecture so far.
hey it's real good understanding and you given live example great job!!
Thank you so much! I beat myself for not understanding the For loop (and loops in general) in college and got discouraged because I didn't get the concept. I worried about the increment/decrement part in the For loop because I was told that machines read codes line by line so when I encountered For loop I was totally flabbergasted. Like wait, there's an increment at the end of the parenthesis, why did the printed value not reflect the increment AM I GOING CRAZY???? Really, thank you so much kind sir! I'm so glad I stumbled upon this video :)
same situation with me
Perfect explanation for beginner! My brain is clear now! Thank you!
wow it was so clear and the visuals really helped in understanding the concept hope to see more of these videos tysm♥
Amazing superb. Way of explaining so detailed with examples. I am lecturer and its really appreciative lecture.👍
This video made these loops very easy to understand - thank you!
Clear, precise and to the point!!!💯👍🏻Great Work Sir!!!1
From this c tutorial I known that some people's exits in this selfish world,whose only intension to give the knowledge without any guru dakhishnaa you are too good sir
Very simplified
Understood in just one video
Thanks man!!
This is the best tutorial for c language . I simply understand ❤️
Respect n love from #Kashmir
Im really impressed with these videos
Absolutely great explanation 👌 👏 even our lecturer can't explain in such a simple way😃
What a easy n understandable Explanation....Sir I wish u could be my sir in collage..u are great sir...u are truly great!🙏🏻🙏🏻🙏🏻🙏🏻🙏🏻🙏🏻🙏🏻🙏🏻🙏🏻🙏🏻🙏🏻🙏🏻🙏🏻🙏🏻🙏🏻🙏🏻🙏🏻🙏🏻🙏🏻🙏🏻🙏🏻🙏🏻🙏🏻🙏🏻🙏🏻🙏🏻🙏🏻🙏🏻🙏🏻🙏🏻❤️
Thank you sir.. Ever found something so good.
You are an amazing instructor!!
you are my such an amazing teacher love you...
neso is love. Thankyou team neso..
Amazing video...straight to the point
Awesome explanation. Thanks Neso Academy
thank you , i was damn confused regarding the steps ... this is so helpful!
Thank you for clearing my doubt. sir❤
This is my first day, and i am willing to learn more from this program.
well explained, tysm this really made my day happy.
you are doing a great job, sir.
Thousands of C programming videos but his videos are LIT🔥
I think this one is the last video for those who not ever understand loop concept even for me thanks brother
U r the best teacher for teaching c language..
Very clearly and completely explained thank you so much
Sir I have question why is this happen that after checking the condition of i>0 it not forwarding to i-- ?
Bruh seriously you're stunning ♥️♥️♥️.
One of the......best I've ever seen 🙏💓💓🔥💥
You are great in explaining!!!!
such a fascinating explanation
Very well explained ...Thank u so much sir..☺️
Thank you for the excellent explanation !
I usually don't write comment but this is what I want 👍👍👍
Thank you very much. This was really helpful and informative
Thank you so much Sir . Your explanations are so great .
Thanks you so sir really I understand difference between while loop & for loop
thanks Neso academy .. very informative, ever I had 👌
This was extremely helpful
Well explanation sir.tqu for your explanation.
what if you put a static funtion in initialiazation of a for loop will it be executed ?
Thank you for this video. New subscriber here from Philippines😊
@4:46 In the for-loop, you forgot to declare the counter "i" as of type int. One, especially the first time learner, may get confused that you're declaring "i" and initializing it in the while-loop but skipping it in the for-loop. Otherwise, everything looks okay.
Was going to comment this, glad I found your comment
@@play_sports_and_read_books explain?
@@x4sting529 even while you are using for loop you have to initialize the variable, such as "int i". you can initialize it in "for" or before it:
int i;
for(i=3;i>0;i- -)
OR
for(int i =3;i>0;i- -)
both works same
You are the best in the explaining 🔥
Such an instreesting explanation
Love the way you explain but just wanted to point out that @ 04:46 in both while loop example and for loop example the statement has to be
printf("%d",i); not print(i)
Best video I ever watched for loop
Excellent explanation and presentation!👏❤️
holy!! thanks for the explanation, now i understand it😭
wow amazing man now i thik loop is just like learning abcd thank you u make my day
This was very helpful. Thank you.
Soo nice explanation and your video is also relaxing your explanation is great
Like you videos!!! Hello from Kazakhstan
loved the explanation....thankyou neso....
i am learning c,c++ from your channel thanks you so much sir 🥰🥰🤗🤗
Finally... I got for what I was searching, explanation was like booooooooom🔥🔥 today I got the best teacher of cs in u 😊😊, keep it up sir.
yes , you have completed the whole playlist?
Thanks alot sir it is really helpful,👏👏
Thank you soo much ur a wonder full guy..
very simple to understand and great explanation
This is an excellent channel
since you said they are the same thing,
how can i make these two code snippets give the same output?
first, the while loop :
int i = 5;
while(i >= 0){
printf("%d pre - ", i);
--i;
printf("%d post
", i);
}
second, the for loop:
for(int i = 5; i >= 0; --i){
printf("%d pre - ", i);
}
Thanks this video really helped me understand. Gave a like:)
very interesting thank you so much Neso
Thanks so much ,this is interesting
Sir upload all videos as soon as possible so that it will be more beneficial for students like me.
Excellent explanation
You satisfied me ❤️❤️😭😭thanksssss 🥺🥺
neso is so much better then other youtubers ...........
Great explanation
Thanks sir for that wonderful tutorial
Which compiler is the best for c programming sir...?
Thanks bro.... Thanks soo much
الله يعطيك العافية
Really assume explanation 👏👍
you so good man keep in going
Sir superb explanation
god bless you sir its so easy
Great explaination
Its always Neso.Subbed
Thank u very much.
Sir you are writing print instead of printf
Is it the syntax of loops or a typo