Errors
Study different types of errors in this lesson.
We'll cover the following...
Types of errors
Two types of errors occur while creating programs:
- Syntax errors (grammatical)
- Logical errors (semantic)
Syntax errors
The syntax error occurs when we don’t follow the rules of the programming language. The syntax errors are:
- Reported by the compiler
- Easy to deal with
Access this course and 1400+ top-rated courses and projects.