Write a C program to print ASCII value of entered character. Here’s simple program to print ASCII value of entered character in C Programming Language.
ASCII Character Set
Character data is represented in a computer by using standardized numeric codes which have been developed. The most widely accepted code is called the American Standard Code for Information Interchange ( ASCII).
The ASCII code associates an integer value for each symbol in the character set, such as letters, digits, punctuation marks, special characters, and control characters. Some implementations use other codes for representing characters, but we will use ASCII since it is the most widely used.
Below is the source code for C program to print ASCII value of entered character which is successfully compiled and run on Windows System to produce desired output as shown below :
SOURCE CODE : :
OUTPUT :
Above is the source code for C program to print ASCII value of entered character which is successfully compiled and run on Windows System.The Output of the program is shown above .
need an explanation for this answer? contact us directly to get an explanation for this answer