Integer value of a character heres a peek ahead in this


Question: (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 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.

Solution Preview :

Prepared by a verified Expert
Basic Computer Science: Integer value of a character heres a peek ahead in this
Reference No:- TGS02403547

Now Priced at $10 (50% Discount)

Recommended (95%)

Rated (4.7/5)