+2 votes
in Class 12 by kratos

What are syntax and semantic errors?

1 Answer

+3 votes
by kratos
 
Best answer

1. syntax error:

It refers to an error in the syntax of a sequence of characters or tokens that is intended to be written in a particular programming language.

2. semantic error:

An error, which occurs due to the incorrect logic and a solution is called a semantic error.

...