#include <stdio.h>
#include <conio.h>
int main( )
{
char c;
printf("Enter a Character\n");
scanf("%c",&c);
printf("ASCII value of %c=%d",c,c);
getch ();
return 0;
}
#include <conio.h>
int main( )
{
char c;
printf("Enter a Character\n");
scanf("%c",&c);
printf("ASCII value of %c=%d",c,c);
getch ();
return 0;
}
No comments:
Post a Comment