Three types of programming errors are:
a) Compile-time error - caused by syntax, for example, boolen flag = false;
b) Runtime error—caused by unexpected conditions or invalid operations, such as memory overflow or opening a file that does not exist.
c) Logical error - programmer's logic faults - for example, faulty condition: if (x > y) print x is small
Created by Nancy N.
@11:30 am 12-May-2025
No comments:
Post a Comment