< Previous | Contents | Next >
You’ll notice that the first line of the function ends with a semicolon (;). That’s because the line is a statement—the basic unit controlling the execution flow. All of your statements must end with a semicolon—otherwise, your compiler will complain with an error message and your program won’t compile.
10 Chapter 1 n Types, Variables, and Standard I/O: Lost Fortune