while (--integer) in c code example
Example 1: how to do a while true in C
for(;;) {
...
}
Example 2: infinite loop using while
infinite loop using 'while'loop ----> while(1)
for(;;) {
...
}
infinite loop using 'while'loop ----> while(1)