+ 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++

12th Feb 2018, 4:37 PM
DEEPANKAR BABU
DEEPANKAR BABU - avatar
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
12th Feb 2018, 5:44 PM
777
777 - avatar