Pages

Write a program to print ASCCI code for given character.

Wednesday, 8 May 2013

#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();
}
 

Search Box

Most Reading

Contact Form

Name

Email *

Message *