10. Structures, Unions, Bit Manipulation and Enumerations

Objectives

In this chapter you’ll:

Image Create and use structures, unions and enumerations.

Image Pass structures to functions by value and by reference.

Image Use typedefs to create aliases for existing type names.

Image Manipulate data with the bitwise operators.

Create bit fields for storing data compactly. ...

Get C for Programmers with an Introduction to C11 now with the O’Reilly learning platform.

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