C_38 While Loop in C (part-2) | C Language Tutorials

preview_player
Показать описание
In this lecture we will deep dive into the concept of while loop while discussing some interesting ways to write while loop.

Connect & Contact Me:

More Playlists:

#loop #cprogramming #coding #forloops #jennyslectures
Рекомендации по теме
Комментарии
Автор

Hello teacher Jenny, I am your student from Kenya, you have made learning C programming language so interesting and understandable for me. Thank you so much for your unending efforts to freely make such educative videos. May your bucket of knowledge never lack.

barackdemba
Автор

At 12:01, The while loop will print 0 to 10, Since we did not initialize the value of i, it takes i=0 and then the loop will get terminated then the "End of the program" will be printed.

dharshand
Автор

At 11:31 If didn't give i value it will going in infinite loop and printing interger range when ans is -1 that time loop break and coming outside the loop.

sourabhkale
Автор

Hi, my name is Wasim Ahmed and I am from Islamabad, Pakistan
.
Ma'am, you are really impressive. I see all your DSA lectures which are really helpful for me in exams. I wanna to thank you.

waseemahmed
Автор

My teacher has global eyes. I am here from the Arab lands. Thank you so much.

abdussalamashuaebi
Автор

at 14:47
#include <stdio.h>
#include <conio.h>
void main()
{
int i=0;
while(++i);
{
printf("%d\n", i);
}
printf("end of program");
getch();

}
it gives
0
end of program

siddhartharaj
Автор

You are the best!!
I am from IIT BHU but i never focussed on proffs while they were teaching. (you know it right).
Now i got an intern in a reputed company and will get placed next year.
Thank you for ur courses especially DSA.
Love you and a gift i have in my mind and give you if i ever get a chance.
Thanks again!! ♥

ashurox
Автор

At 13:13 Output will be nothing when we use semicolon after while

CrazyThinkers_
Автор

11:45 gives an error on IDE
14:44 gives 0 and end
16:55 when you use %c gives the characters

maryannemuthoni
Автор

14:47 it will print 0 and then end of program

BeautyofLanguage
Автор

Mam, when we didn't initialize any value to i, it'll take as default value 0.so it'll print from 0 till 10.

priyashanmugam
Автор

Ma'am your data structures playlist helped me a lot... Now, I have planned to go further and learn DAA(design and analysis of algorithms). Please make a playlist on DAA. Your way of writing code and teaching it is so good. Literally, I have tried to learn DAA from other playlists which are available on YouTube but it didn't help me that much. Please try to make videos on DAA. It will help me a lot🙏

asthaagarwal
Автор

@11:53 it prints 0-10 and the end sentence

nowuknow
Автор

At 14:49

Output - 0
End of program

ayushuniyal
Автор

Mam ye infinity compiler k range par depend karta he. The range you have written is not same for all of the compilers. For example the range of the code blocks's compiler is bigger than the range u have written.

greyhat
Автор

Mam you are all programs explain in a very very simple language
Soo it is very simple to study for me.
Thank you ...
mam

sumitdakare
Автор

Iam waiting exam on c this semester and you are my reference❤

vrmohan
Автор

Good evening mam,
As u are explaining c, please explain java and other programming languages also, mam.
Your explanation is awesome.

sriwathsanagumalli
Автор

At 11:46 Ans is correct Loop didn't work control directly going out side the loop and printing outside the loop.

sourabhkale
Автор

11:50 when i is not initialised and condition is given, and increment is there, then the output will be 0-10

BeautyofLanguage