Control statements

Control statements are used for loops, branches and logical tests and often require other statements to be embedded within them. We will take a closer look at them in the chapter Decision making.

Code example

while (1) {
    // do something here
}