DAY 10
WEEK 2
Working with Characters
and Strings
Acharacteris a single letter, numeral, punctuation mark, or other such
symbol. A stringis any sequence of characters. Strings are used to
hold text data, which is comprised of letters, numerals, punctuation marks, and
other symbols. Clearly, characters and strings are extremely useful in many pro-
gramming applications. Today you will learn:
- How to use Cās chardata type to hold single characters
- How to create arrays of type charto hold multiple-character strings
- How to initialize characters and strings
- How to use pointers with strings
- How to print and input characters and strings
NEWTERM
17 448201x-CH10 8/13/02 11:17 AM Page 223