Chapter 17. Miscellaneous and Advanced Features

THIS CHAPTER DISCUSSES SOME MISCELLANEOUS FEATURES of the C language that have not yet been covered and provides a discussion of some more advanced topics, such as command-line arguments and dynamic memory allocation.

Miscellaneous Language Statements

This section discusses two statement you haven’t encountered to this point: the goto and the null statement.

The goto Statement

Anyone who has learned about structured programming knows of the bad reputation afforded to the goto statement. Virtually every computer language has such a statement.

Execution of a goto statement causes a direct branch to be made to a specified point in the program. This branch is made immediately and unconditionally upon execution ...

Get Programming in C, Third Edition now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.