Question: Which of the following is an example of a syntax error?
Options:
Correct Answer: Missing a semicolon
Solution:
A syntax error occurs when the code does not conform to the grammatical rules of the programming language, such as missing a semicolon.