asked 117k views
1 vote
Is a special function that is called whenever a new object is created and initialized?

1 Answer

4 votes
The constructor is a special function. There is also a destructor in C++.
answered
User MaxNevermind
by
8.7k points