Which errors can a compiler check?
Correct answer B. Syntax Error
Explanation
A compiler checks source code against the grammar rules of the language, so it reports syntax errors, but it cannot tell whether the program's logic produces the intended result.
Answer checked How we write and check questions
Discussion