Question 20
Back to Exercise
A syntax error is an error that:
- A gives a wrong answer silently while running
- B happens only when printing a program
- C breaks the grammar rules of the language Correct
- D occurs in hardware such as faulty RAM chips
Correct Answer: Option C
The compiler reports it.
Trap: the other options are related software terms that examiners use as look-alike distractors.
Answer: breaks the grammar rules of the language
Discussion & Comments 0
Share your method, a shortcut, or ask about a step you didn't follow.
No comments yet. Be the first to share your solution!