Pages

Write a program to find the value of ascci codes

Friday 19 April 2013


#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

 

Search Box

Most Reading

Contact Form

Name

Email *

Message *