C Program to Print A to Z Alphabets using While Loop

Program:
#include<stdio.h>
int main()
{
  char ch='A';
  while(ch <= 'Z')
  {
    printf("%c ", ch);
    ch = ch+1;
  }
  return 0;
}
Output:

Related Links:
Previous Post Next Post