C - Print ASCII value of entered character
In this C program, we will read a character values in a character variable and then store its ASCII value to an integer variable.
It’s really very easy to convert a character value to an integer variable, consider the given statement,
integer_variable = (int)character_variable;
Print ASCII value of entered character in C
Output
need an explanation for this answer? contact us directly to get an explanation for this answer