2 ms·
You could just say while(true). And I'm not sure that the test for true is implicit, since that is what while() explicitly does.
by sp332 14y ago
You could just say while(true). And I'm not sure that the test for true is implicit, since that is what while() explicitly does.
- zanny 14y agoC doesn't have true / false as language constants, only as override-able macros. The good thing is modern compilers can evaluate a loop and if the break condition is constant it can just do an infinite loop without checking.