Program for displaying ASCII values of English Alphabets | C Programming and Computer Geeks

Search MY Blog

Tuesday, 26 November 2013

Program for displaying ASCII values of English Alphabets


#include “stdio.h”

int main()
{
     int i = 0;

     for( i = 65; i <= 122; i++)
     {
          if (i >= 91 && i <= 96) //to non-alphabet characters
          continue;
          printf("%c - %d",i,i);

          printf("\t");
     }

     getch();
     return 0;
}


 
Output:

ASCII Values of English Alphabets
ASCII values of English Alphabets





 

Click here for more C Faq


Search This Blog