Skip to Main Content
Programming in C, Fourth Edition
book

Programming in C, Fourth Edition

by Stephen G. Kochan
August 2014
Beginner content levelBeginner
552 pages
15h 37m
English
Addison-Wesley Professional
Content preview from Programming in C, Fourth Edition

9. Character Strings

Now, you are ready to take a look at character strings in more detail. Data manipulation is the single-most important function your programs will perform. Numbers, in their various data formats, only cover half the story. You also need to deal with words, characters, and alphanumeric combinations of the two. Although the C language does not have a string data type like many other languages, you’ve already seen that a combination of the char data type and arrays can cover what you need. In addition, there are both library functions as well as routines you can write to manipulate string data. This chapter covers the basics, including

Understanding character arrays

Employing variable-length character arrays

Using escape characters ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Programming in C, Third Edition

Programming in C, Third Edition

Stephen G. Kochan
C Programming Language, 2nd Edition

C Programming Language, 2nd Edition

Brian W. Kernighan, Dennis Ritchie

Publisher Resources

ISBN: 9780132781206Purchase book