answersLogoWhite

0


Best Answer

A syntax error is when you break the grammar rules of the language, such as forgetting to terminate a C++ statement with a semi-colon.

A logical error is when your code does not perform as expected, typically due to an assumption that proves to be incorrect.

User Avatar

Wiki User

9y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: What is difference between syntx error and logical error?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Continue Learning about Math & Arithmetic
Related questions