Three kinds of errors in C + + program

There are two types of errors that often occur when debugging our programs.
One is the compilation error; the other is the runtime error. The other is The Semantics error.
The compilation error is a kind of error that occurs when we compile the program, primarily due to syntax errors, or errors in the use of data types. The Runtime error is when our program compiles, the link passes, but an error occurs while running. The Runtime error is more difficult to catch, because the compiler doesn’t tell you what the error is. The Semantics error originates from the wrong understanding of the problem and the solution. Procedure okay, but the way to solve the problem is to have the wrong mouth.

Read More: