C Program to Display Characters from A to Z Using Loop.


#include <stdio.h>
int main()
{
    char c;

    for(c = 'A'; c <= 'Z'; ++c)
       printf("%c ", c);
 
    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

Post a Comment

Previous Post Next Post