+ 1
What is the use of constructors?
why do use it in our c++ programs...
1 Answer
+ 13
They are used to initialise specific object values.....
Constructors are called upon the creation/instantiation of new objects of a class...
Useful if you want to create something like an incremental counter of created objects using a static variable and for many other reasons.....