C Program to print alphabets a-z using While
#include<stdio.h>
int main()
{
char ch = 'a';
printf("Alphabets from a-z: \n");
while(ch<='z')
{
printf("%c ",ch);
ch++;
}
return 0;
}
Output
Alphabets from a-z:
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