Define syntax error. (NCERT Class 11th)
Answers
Answered by
8
Syntax error ::
Syntax errors occur when rules of a programming language are violated..
For example ::
Public static void main ( string args)
( Int a = 50 :
System .out.println ( " value of a =" + a); )
Answered by
3
Syntax error
Explanation:
- A syntax error in computing is a mistake within the syntax of coding or programming language, entered by a programmer. Syntax errors are caught by a software program called a compiler, and therefore the programmer must fix them before the program is compiled then run.
- When a command appears during a program’s ASCII text file that doesn't conform to the programming language syntax, the code can't be compiled, and therefore the resulting error is named a syntax error.
Similar questions