Cpp Primer Chapter 5
cpp cpp primerThis chapter looks in detail at the statements supported by C++. Statements are executed sequentially. Except for the simplest programs, sequential execution is inadequate. Therefore, C++ also defines a set of flow-of-control statements that allow more complicated execution paths.
Simple Statements Null Statements The simplest statement is the empty statement, also known as a null statement. A null statement is a single semicolon: ;. A null statement is useful where the language requires a statement but the program’s logic does not.
Read more...