+ 1
What is the difference between syntax and semantic error ? How to know that the error is semantic or syntactic in C and C++ ?
What are semantics... and that type of errors in compiler in C and C++
1 Respuesta
+ 3
Syntactical error occurs when syntax is violated
x = y*z // semicolon missed
And, semantical errors occurs when a line is illogical
y*z = x; // opposite assignment