1. Home
  2. Engineering
  3. Computer Engineering
  4. Which of the following makes a program run but produce…

Added 28 Nov 2026

Which of the following makes a program run but produce incorrect output?

  1. A syntax error
  2. A logical error Correct answer
  3. A variable
  4. Function overriding

Correct answer

B. A logical error

MCQSEXAM

Explanation

The answer is A logical error.

Reference

Asked in: Engineering Computer Engineering Practice

https://en.wikipedia.org/wiki/Object-oriented_programming

Preparing for an exam?

Doubts & discussion

Not sure why the answer is B? Ask here and get an explanation.

Ask a doubt about this MCQ

Shown after review. No links please.

More Computer Engineering MCQs

Practise all Computer Engineering MCQs

Similar MCQs