Programming Concepts

In computer science, Syntax error refers to which of the following?

Correct answer

C. An error that occurs when code does not follow the grammatical rules of the programming language.

Explanation

Syntax error refers to an error that occurs when code does not follow the grammatical rules of the programming language.