A logic error is an error that violates the rules of the programming in language.

A. True
B. False

1 answer

B. False

Logic errors do not violate the rules of the programming language; instead, they occur when there is a mistake in the algorithm or logic of the program that leads to incorrect or unexpected results.