Chapter 3 Declarations and Types

This chapter describes the declaration and initialization of variables, functions, and types. The C language includes a standard set of basic data types. You can also add your own data types, called “derived types,” by declaring new ones based on types already defined. Topics discussed include

Storage-class specifiers

Type specifiers

Type qualifiers

Declarators and variable declarations

Initializers

Enumeration, structure, union, and array declarations

Pointers and based pointers

Storage of basic types

Typedef declarations