1.

When A Syntax Error Occurs?

Answer»

A SYNTAX error OCCURS when the program violates one or more grammatical RULES of the programming language. These errors are detected at compile time, i.e., when the translator (compiler or interpreter) attempts to TRANSLATE the program.

A syntax error occurs when the program violates one or more grammatical rules of the programming language. These errors are detected at compile time, i.e., when the translator (compiler or interpreter) attempts to translate the program.



Discussion

No Comment Found