(Integer Value of a Character) Here’s a peek ahead. In this chapter you learned about integers and the type int. C can also represent uppercase letters, lowercase letters and a considerablevariety of special symbols. C uses small integers internally to represent each different character. Theset of characters a computer uses together with the corresponding integer representations for thosecharacters is called that computer’s character set. You can print the integer equivalent of uppercaseA, for example, by executing the statementprintf( "%d", 'A' );Write a C program that prints the integer equivalents of some uppercase letters, lowercase letters,digits and special symbols. As a minimum, determine the integer equivalents of the following:ABCabc012$*+/ and the blank character.
(Integer Value of a Character) Here’s a peek ahead. In this chapter you learned about integers and the type int. C can also represent uppercase letters, lowercase letters and a considerable
variety of special symbols. C uses small integers internally to represent each different character. The
set of characters a computer uses together with the corresponding integer representations for those
characters is called that computer’s character set. You can print the integer equivalent of uppercase
A, for example, by executing the statement
printf( "%d", 'A' );
Write a C
digits and special symbols. As a minimum, determine the integer equivalents of the following:
ABCabc012$*+/ and the blank character.
Trending now
This is a popular solution!
Step by step
Solved in 3 steps with 1 images