answersLogoWhite

0

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

10y ago

Still curious? Ask our experts.

Chat with our AI personalities

RafaRafa
There's no fun in playing it safe. Why not try something a little unhinged?
Chat with Rafa
MaxineMaxine
I respect you enough to keep it real.
Chat with Maxine
BlakeBlake
As your older brother, I've been where you are—maybe not exactly, but close enough.
Chat with Blake

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