Programming Examples

C Program to Display Characters from A to Z Using Loop


Write a C Program to Display Characters from A to Z Using Loop

Solution

#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

Online Exam Quiz for One day Exam Online Typing Test CCC Online Test 2026 Best Computer Training Institute in Prayagraj (Allahabad) Best Java Training Institute in Prayagraj (Allahabad) Best Python Training Institute in Prayagraj (Allahabad) O Level Online Test in Hindi Best Website and Software Company in Allahabad