Chapter 2. Introduction to Data Types

Before you can begin doing any serious C programming, you'll need a basic grasp of the available data types. The C language has several types—from numbers to characters and more advanced categories—each with its own specific purpose. What they all have in common is their ability to temporarily store information in memory, so that your applications can perform math, manipulate strings, take user input, and much, much more.

In this chapter you'll get a quick introduction to the most basic data types you'll be using throughout the rest of this book. In the process, you'll also learn about how to declare variables, assign values to them, and print their values.

Get C Programming: Visual Quickstart Guide now with the O’Reilly learning platform.

O’Reilly members experience live online training, plus books, videos, and digital content from nearly 200 publishers.