Flow of Control There are two kinds of statements used in C++. (i) Null statement (ii) Compound statement . . Null statement The " null or empty statement " is a statement containing only a semicolon.
It takes the flowing form: ; // it is a null statement Null statements are commonly used as placeholders in iteration statements or as statements on which to place labels at the end of compound statements or functions. . . Compound (Block) statement C++ allows a group of statements enclosed by pair of braces {}.
This group of statements is called as a compound statement or a block. The general format of compound statement is: statement1; statement2; statement3; For example int x, y; x = ; y = x + ;