Question: 2.25 (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
2.25 (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 display the integer equivalent of uppercase A, for example, by executing the statement printf("\%d", 'A'); Write a C program that displays the integer equivalents of some uppercase letters, lowercase letters, digits and special symbols. At a minimum, determine the integer equivalents of the following: A B C a b
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
