What kinds of program errors can you encounter during programming?

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:

  1. Syntax Errors when rules of a programming language are violated.
  2. Semantics Errors when program statements are not meaningful.
  3. Type Errors when data/value of unexpected type is passed or input.

Leave a Reply

Your email address will not be published. Required fields are marked *