Explain logical errors? Compare with syntax errors.
S.no | Syntax errors | Logical errors |
---|---|---|
1. | Refers to an error in the sequence of characters | Refers to an error in the algorithm |
2. | Use compiler to indicate errors | The developer needs to detect an error on his own |
3. | Easier to identify errors | Comparatively difficult |
BY Best Interview Question ON 07 Feb 2019