The Success Center Mithi

Which statement correctly describes Logic error?

A) a named storage location whose value can change during program execution

B) an error in program reasoning that produces an incorrect result without necessarily stopping execution

C) a symbol or construct that performs an operation on one or more operands

D) an instance of a class in object-oriented programming

Answer: B

Explanation: Logic error means an error in program reasoning that produces an incorrect result without necessarily stopping execution. The other options describe different concepts from this topic.

Scroll to Top