Q33. What kinds of program errors can you encounter during programming? Why do these occur?
Ans. Three types of errors can be encountered during programmings, which are given below:
- Syntax Errors when rules of a programming language are violated.
- Semantics Errors when program statements are not meaningful.
- Type Errors when data/value of unexpected type is passed or input.