C Program To Print All Alphabets From A To Z
Write a c program to print all alphabets from A to Z.
To make this program we need to have understanding about loops, and char data type.
Code
#include <stdio.h>
int main()
{
char ch;
for(ch='a'; ch<='z'; ch++)
{
printf("%c ", ch);
}
return 0;
}
Output
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