c-thumb

C Program to find the ASCII value of any character

In this post, we are going to write a simple C program to find the ASCII value of any character that a user has entered. If you what is an ASCII value, I will give a simple example here,

Each character whether it can be an Alphabet or Number or Any Symbol holds an ASCII value. For eg., the ASCII value of A is 65 and a is 97 and also for & is 38. So we can easily find out these ASCII values by writing a simple C Program.

Here is the C program to find and print the ASCII value of a character:

And the sample output of the above program is:

I hope this program is very helpful for you. Subscribe to this blog for more new updates.

Related Posts

Leave a Reply