Lesson 4 / 36
C Syntax
The small set of rules every C program follows.
Statements & blocks
Every statement ends with a semicolon ;. Blocks are wrapped in braces { }. Indentation is for humans — the compiler ignores it.
Comments & case
C is case-sensitive: count and Count differ.
// single-line comment
/* multi-line
comment */
int count = 0; // not the same as Count