Chapter 10. C Structures, Unions, Bit Manipulations and Enumerations

 

But yet an union in partition.

 
 --William Shakespeare
 

The same old charitable lie Repeated as the years scoot by Perpetually makes a hit—“You really haven’t changed a bit!”

 
 --Margaret Fishback
 

I could never make out what those damned dots meant.

 
 --Winston Churchill
<feature><title>Objectives</title>

In this chapter, you will learn:

<objective>

To create and use structures, unions and enumerations.

</objective>
<objective>

To pass structures to functions by value and by reference.

</objective>
<objective>

To manipulate data with the bitwise operators.

</objective>
<objective>

To create bit fields for storing data compactly.

</objective>
</feature>
<feature><title>Outline</title>

10.1 ...

Get C How to Program, Fifth Edition 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.