C Program to Find ASCII Value of a Character

In C programming, a character variable holds an ASCII value (an integer number between 0 and 127) rather than the character itself. You will learn how to find the ASCII value of a character in this program.

A character variable holds an ASCII value (an integer number between 0 and 127) rather than that character itself in C programming. That value is known as the ASCII value.

For example, the ASCII value of ‘A’ is 65.

This means that, if you assign ‘A’ to a character variable, 65 is stored in that variable rather than ‘A’ itself.

Program to Print ASCII Value