Write a program to find the value of ascci codes

4/19/2013 06:42:00 pm Unknown 0 Comments


#include<stdio.h>
#include<conio.h>
int main()
{
   char ch;
   printf("please type a chararcter\n");
  ch=getche();

   printf("\n the ASCII code for \%c\ is %d",ch,ch);
   getch();
}


NOTE: ASCCI CODE IS DIFFERENT FOR CAPITAL AND SMALL LETTER