Write a program to print ASCCI code for given character.

5/08/2013 09:44:00 pm Unknown 0 Comments

#include<stdio.h>
#include<conio.h>
int main()
{
   char ch;
   printf("Enter a chararcter: ");
   ch=getche();

   printf("\nThe ASCII Code for \%c is %d",ch,ch);
   getch();
}