Mega Code Archive
Categories
/
C Tutorial
/
Statement
Omit all three parts in for loop
#include
int main() { printf("~ to exit"); for(;;) { char ch=getchar(); if(ch=='~') { break; } } } ~ to exit123 ~