what is the condition for the while loop to be invalid ?
i think the following are the condition for invalid while loop.
1. while(false ) // bool false --> loop will stop
2. while(NULL) ----> loop will stop
3. while(0) ----->loop will stop
4. while('\0') -----> loop will stop.
i think there are many more conditions like above... so there are basically different rules.
is there any other condition which can make the while loop stop ?