C examples for Statement:for
For loop count by characters instead of by numbers
#include <stdio.h> int main(void) { char ch;//w w w .ja v a 2s . c om for (ch = 'a'; ch <= 'z'; ch++) printf("The ASCII value for %c is %d.\n", ch, ch); return 0; }