Multiple choice

Constructor function in C++ cannot return a value. Is it true or false?

  1. True

  2. False

Reveal answer Fill a bubble to check yourself
A Correct answer
Explanation

Constructors are special functions that initialize objects and are defined without any return type, not even void.