C++
Programming and Technical
Programming
Technical
What is the primary purpose of a default constructor?
a) To allow multiple classes to be used in a single
program.
b) To copy an actual argument to a function's parameter.
c) To initialize each object as it is declared.
d) To maintain a count of how many objects of a
class have been created.
Read Solution (Total 2)
-
- c) To initialize each object a it is declared.
- 10 years agoHelpfull: Yes(1) No(0)
- to copy an actual argument to a function parameter
- 10 years agoHelpfull: Yes(0) No(1)
C++ Other Question