+ 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 Réponse
+ 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
Aujourd'hui en vedette
.
1 Votes
What?
0 Votes
HTML
0 Votes
FRC Coding?
1 Votes
Quiz duel
0 Votes
AI
2 Votes
help
0 Votes
APIs
1 Votes
Create Agent
0 Votes