CHAPTER

9

Characters and Strings

9.1 Introduction to Character Data

9.2 Introduction to Strings

9.3 Strings and Functions

9.4 String Library Functions

9.5 Sample Programs

Chapter Summary

Exercises

Objectives

To learn to define, use, and manipulate character data and character strings.

Character data storage and manipulation is a powerful feature of the C programming language. There are many software application programs such as word processors, spreadsheets, and multimedia, as well as database tools developed using character and string data and manipulation features. Scientists and engineers use character strings in creating formulas, drawing graphics, and developing software. In general wherever text is required; for example, names of people, ...

Get C Programming for Scientists and Engineers with Applications now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.