< Previous | Contents | Next >

Terminating Statements

Youll notice that the first line of the function ends with a semicolon (;). Thats because the line is a statementthe basic unit controlling the execution flow. All of your statements must end with a semicolonotherwise, your compiler will complain with an error message and your program wont compile.

10 Chapter 1 n Types, Variables, and Standard I/O: Lost Fortune