38
Question Question 38
Differentiate between a syntax error and a semantics error.
| Syntax Error | Semantics Error |
|---|---|
| Syntax errors occurs when the rules of the programming language are violated. | Semantic errors occur when the statement are not meaningful. |
| Example: x = false | Example: x * y = z |