Course Content
Programming in C
About Lesson

The control-flow statements specify the order in which computations are performed.

An expression such as i = 0 or i++ becomes a statement when it is followed by a semicolon, as in

i = 0;
i++;

In C, semicolon is a statement terminator.

Braces { and } are used to group declarations and statements together into a block. We have already seen examples of braces surrounding statements of a function, if-else statement, for and while loops.

Scroll to Top