Statements and Blocks

Statement vs. Block

Single statements terminated with;

a = 1;
f(a);

Block (“compound statement”) is a group of statements ⟶ syntactically equivalent to a single statement

{
    a = 1;
    f(a);
}

Attention: no “;