Which of the following type of constructors is used to initialise data members…

PYQ DSSSB 2022

Which of the following type of constructors is used to initialise data members with the values provided by the user in C++?

  1. A.

    Parameterised constructor

  2. B.

    Default constructor

  3. C.

    Copy constructor

  4. D.

    Static constructor

Attempted by 984 students.

Sign up free to check your answer

Sign up free

Explore the full course: Dsssb Tgt Computer Science Paper 2

Loading lesson…