Saved Bookmarks
| 1. |
Select the statements that are true about default and copy constructors in C++:Compiler doesn’t create a default constructor if the user writes any constructor except the copy constructor.Compiler creates a copy constructor if the user doesn’t write its own copy constructor.Compiler doesn’t create a default constructor if the user writes any constructor even if it is copy constructor.(A) 1 and 2(B) Only 3(C) Only 2(D) 2 and 3 |
| Answer» | |