Advertisements
Advertisements
Question
What are the types of Errors?
Short Note
Solution
Type of Error | Description |
Syntax Error | Syntax errors occur when grammatical rules of C++ are violated. |
Semantic Error | Semantic Error occurs when there is the wrong use of variable/operator/order of execution etc.
It is also called a Logical Error. |
Run–time error | A run time error occurs during the execution of a program. It occurs because of some illegal operation that takes place. |
shaalaa.com
Types of Errors
Is there an error in this question or solution?