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 books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.