What is use of constructor in c++ | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
- 1

What is use of constructor in c++

25th Sep 2020, 8:28 AM
Atharva Yadav 10th A
Atharva Yadav 10th A - avatar
2 Answers
+ 7
Constructor is a enhanced features of cpp .we cannot explain in few words if you want to see example you can search on Google about constructor u will understood much better.
25th Sep 2020, 9:45 AM
A S Raghuvanshi
A S Raghuvanshi - avatar