C program to convert character to an integer

C program to convert character to an integer