+2 votes
in Class 12 by kratos

What do you mean by Syntax errors and Semantic errors?

1 Answer

+1 vote
by kratos
 
Best answer

Syntax errors occur when rules of a programming language are missed.

(eg) int a,b //missing semicolon.

Semantic errors occur when statements are not meaningful.

(eg) X*Y = Z;

...