Display characters from a to z using loop

Program : -




#include<stdio.h>
#include<conio.h>
void main()
{
    char c;
    for(c='A'; c<='Z'; ++c)
       printf("%c ",c);
    getch();
}



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