Mega Code Archive
Categories
/
C
/
Data Type
For loop with char as the loop condition
#include
int main() { char ch; for ( ch = 'a'; ch <= 'z' ; ch++ ) { printf ( "%c", ch ); } printf ( "\n" ); }