Understanding White Space

The final concept covered in this chapter is that of white space. White space refers to blank lines, tabs, and spaces that add clarity to your coding, both during writing and running.

C, like many languages, is generally white space insensitive. This means that you can add blank lines to make your scripts easier to read. You can also add a little padding between a function call and its opening parentheses. Most important, you can use spaces to indent code, thereby indicating what code is a subset of what routines (for example, whether a line of code is part of a function or a conditional). This is a critical concept in making your code more approachable.

Finally, you'll learn how to add white space to the messages printed ...

Get C Programming: Visual Quickstart Guide 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.