Which of the following type of constructors (in C++) does NOT accept parameters?
2022
Which of the following type of constructors (in C++) does NOT accept parameters?
Answer: A. Default constructor
- A.
Default constructor
- B.
Dynamic constructor
- C.
Parameterised constructor
- D.
Copy constructor
Attempted by 791 students.
Show answer & explanation
Correct answer: A
Loading lesson…