Forgetting a semicolon will cause
a) a syntax error
b) a run-time error
c) a logical error
d) no error at all
e) converting the statement into a comment
Answer: a. Explanation: If a semicolon is missing where one should be present, the compiler will generate a syntax error.