42.9k views
5 votes
What is the difference between a syntax error and a logical error?

User Kawd
by
8.2k points

1 Answer

5 votes
A syntax error can be a simple mistake as a typo or an extra space. A logical error has to do with the code structure, and if it makes sense.

Hope this helps!
User Suzzette
by
8.8k points

No related questions found