QP School

Full Version: Missing Semi-colons in C
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Forgetting to add a semicolon at the end of a statement can lead to compilation errors.

// Incorrect
int x = 10
int y = 20

// Correct
int x = 10;
int y = 20;