Chapter 3. A Word on C

In this chapter

  • Hello World

  • Conclusion

  • Next Steps

Having been exposed to the C language syntax in Chapter 2,"Programming Constructs," we now focus full attention on the structure and convention of the language.

Every year the C community runs a contest to see which participant can write the most obfuscated C code.

obfuscate: -cated, -cating, -cates. 1. a. To render obscure. b. To darken. 2. To confuse.

The point of the contest is to show the importance of programming style in an ironic way and to emphasize subtleties of the C programming language. Although other structured programming languages have intricacies of their own, C inherently lends itself to the contest by offering features that are often confusing.

This chapter ...

Get X Window Programming from Scratch 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.