C program to find ASCII value

Problem statement

Write a program to take character as input and find ASCII value of given character.

What is meant by ASCII value?

There are 256 different types of characters available in computers. Each character has their unique ASCII value.

The value range from 0 to 255. Out of the 256, first 128 are often called ASCII characters and the next 128 as Extended ASCII characters.
Most computers typically reserve 1 byte (8 bits) to represent a character in ASCII.

What is ASCII stands for?

ASCII stands for American Standard Code for Information Interchange.

 

Program to find ASCII value of character

Output

 
 
 

Program to find ASCII chart

To know more about ASCII and get ASCII chart click here

Help others by sharing the content!

Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.