Step 1: Recall the syntax of C++.
C++ is a semi-colon-terminated language. This means that most individual statements (declarations, expressions, function calls, etc.) must end with a semicolon (`;`).
Step 2: Analyze the purpose of the semicolon.
The semicolon acts as a statement terminator, telling the compiler where one statement ends and the next one begins. This allows for writing multiple statements on a single line or a single statement across multiple lines.