#include <stdio.h>
int main(void)
{
char ch = 0;
scanf(%c, &ch); // Read one character
printf(The character is %c\n, ch);
printf(The character is %c and the code value is %d\n, ch, ch);
return 0;
}
#include <stdio.h>
int main(void)
{
char ch = 0;
scanf(%c, &ch); // Read one character
printf(The character is %c\n, ch);
printf(The character is %c and the code value is %d\n, ch, ch);
return 0;
}