6 Q5: Which of the following statements is true?
A.
Both syntax errors and logic errors are caught by the compiler.
B.
Both syntax errors and logic errors have effects at execution time.
C.
Syntax errors are caught by the compiler. Logic errors have effects at execution time.
D.
Logic errors are caught by the compiler. Syntax errors have effects at execution time.