O'Reilly logo

C How to Program, Fifth Edition by H. M. Deitel - Deitel & Associates, Inc., P. J. Deitel - Deitel & Associates, Inc.

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required