Q.

Which of the following is true about constructors?
1) They cannot be virtual.
2) They cannot be private.
3) They are automatically called by new operator.

A. All 1, 2, and 3
B. Only 1 and 3
C. Only 1 and 2
D. Only 2 and 3
Answer» B. Only 1 and 3
1.1k
0
Do you find this helpful?
13

View all MCQs in

CPP Programming

Discussion

No comments yet