O'Reilly logo

C Programming: Visual Quickstart Guide by Marc Liyanage, Larry Ullman

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

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

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