Home > Back-end >  why
why

Time:12-30

#include
Int main ()
{
Char h;
For (h=0; h; H++)
Printf (" % c ", h);
return 0;
}
This is why, why can run normally but no results

CodePudding user response:

Because h=0 does not meet the conditions, the cycle time also didn't perform,

H=0 is false, false cycle does not perform, try to put the h=1

CodePudding user response:

reference 1/f, confident boy reply:
because h=0 does not meet the conditions, the cycle time also didn't perform,

H=0 is false, false cycle does not perform, try the h=1 ~

Really, that we use a for loop, such as
for(i=0;; I++)
This if for int why can the

CodePudding user response:

You crashed telephone pole because you forgot to wear glasses, not because you wore a red shirt,

Cyclic behavior of the difference between cycle control condition is different, not because the data type,