May 2003
Intermediate to advanced
528 pages
12h 57m
English
A common mistake that people make when trying to design something completely foolproof is to underestimate the ingenuity of complete fools.
—Douglas Adams
Pointers, structures, unions, dynamic memory, and type name declarations are the basic building elements for more sophisticated C data types and algorithms. Although we have encountered them a number of times up to now, their uses are sufficiently diverse, specialized, and idiomatic to merit in-depth treatment. In this chapter we examine how pointers, structures, and unions are typically used in programs and provide examples for each usage pattern. By recognizing the function served by a particular language construct, you can better understand the code that ...
Read now
Unlock full access