how to do a while true loop in C code example
Example 1: WHILE loop in c
while( a < 20 ) {
printf("value of a: %d\n", a);
a++;
}
Example 2: how to do a while true in C
for(;;) {
...
}
while( a < 20 ) {
printf("value of a: %d\n", a);
a++;
}
for(;;) {
...
}