C Program to print alphabets a-z using ASCII
#include<stdio.h>
int main()
{
int i;
printf("Alphabets from a - z are: \n");
/* ASCII value of small a=97 to z=122 */
for(i=97; i<=122; i++)
{
/*
Integer i with %c will convert integer
to character before printing. %c will
take ascii from i and display its character equivalent.
*/
printf("%c ", i);
}
return 0;
}
Output
Alphabets from a - z are:
a b c d e f g h i j k l m n o p q r s t u v w x y z