Saturday, 20 September 2014

WAP to display ASCII value

#include<conio.h>
#include<stdio.h>
void main()
{
clrscr();
char c;
printf("\t Enter a character");
scanf("%c",&c);
printf("\n \t ASCII value is : %d",c);
getch();
}

No comments:

Post a Comment

Please write your doubts