Errors

Study different types of errors in this lesson.

Types of errors

Two types of errors occur while creating programs:

  1. Syntax errors (grammatical)
  2. Logical errors (semantic)
svg viewer

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.