Sunday 20 October 2013

Program to find ASCII value of Character in C

#include <stdio.h>
#include<conio.h>
 void  main()
char c; 
printf("Enter a character: "); 
scanf("%c",&c); 
printf("ASCII value of %c = %d",c,c);
getch();
      }


No comments :

Post a Comment