void main()

{
 int a;
 clrscr();


printf("press any key for the ascii equivalent");
scanf("%d",&a);
printf(" the ascii eq. of %d = %c",a,a);
getch();

}