138k views
4 votes
Why is it easier to spot a syntax error than a logical error?​

1 Answer

3 votes

Answer:

Even small typos that do not produce syntax errors may cause logic errors. ... The logic error might only be noticed during runtime. Because logic errors are often hidden in the source code, they are typically harder to find and debug than syntax errors.Step-by-step explanation:

User Pollizzio
by
7.8k points