O'Reilly logo

C Programming in One Hour a Day, Sams Teach Yourself, Seventh Edition by Dean Miller, Peter Aitken, Bradley L. Jones

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Lesson 10. Working with Characters and Strings

A character is a single letter, numeral, punctuation mark, or other such symbol. A string is any sequence of characters. Strings are used to hold text data, which is composed of letters, numerals, punctuation marks, and other symbols. Clearly, characters and strings are extremely useful in many programming applications. In this lesson you learn:

Image How to use C’s char data type to hold single characters

Image How to create arrays of type char to hold multiple-character strings

How to initialize characters ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required