C program to print the ascii value of a character

C program to print the ascii value of a character


Input:

Enter a character to print its ASCII value:
a

Output:

The ASCII value of a is 97

Implementation: