MCQ Practice Single Best Answer Topic: Basic Concept of OOP

Q Which of the following makes a function non-returnable?

Question ID
#22025
Subchapter
Basic Concept of OOP
Action
Choose one option below

Choose Your Answer

Click an option to check whether your answer is correct.

  • A public
  • B static
  • C void
  • D new
Correct Answer: C

Explanation

void

Reason — The keyword 'void' makes a function non-returnable.

Share This Question

Share this MCQ with your friends or study group.