Which of the following is FALSE with respect to constructors in C++?

PYQ DSSSB 2018

Which of the following is FALSE with respect to constructors in C++?

  1. A.

    Constructors may be overloaded

  2. B.

    Constructors are used to initialise variables and to allocate memory

  3. C.

    When an object is created and initialised, at the same time, a copy constructor gets called

  4. D.

    A constructor should not have the same name as that of a class

Attempted by 666 students.

Sign up free to check your answer

Sign up free

Explore the full course: Dsssb Tgt Computer Science Paper 2

Loading lesson…