+ 1
While Loop Doubt in C
char ch=120; //Range : [-128,127] while(++ch) { printf("%d\t",ch); } In this program, The loop stops after the character value get zero can anyone explain?
3 ответов
+ 3
Thanks!
0
Ujwal Sai Simha Y
👉while(any non-zero integer)
{// loop runs }
👉while(0)
{// loop does not run}