why all c++ program must have default constructor?
Answer Posted / ashutosh shashi
To initialized objects of class, if you do not create your
own.Its a inbuilt feature of C++ compiler.
| Is This Answer Correct ? | 7 Yes | 1 No |
Post New Answer View All Answers
Can we make any program in c++ without using any header file and what is the shortest program in c++.
When you overload member functions, in what ways must they differ?
What is ifstream c++?
Is recursion allowed in inline functions?
Please explain the reference variable in c++?
What is binary search in c++?
What is prototype for that c string function?
What are the data types in c++?
How would you implement a substr() function that extracts a sub string from a given string?
What is virtual base class uses?
What are features of c++?
What is the use of map in c++?
Can we use pointers in c++?
Explain data encapsulation?
What is function declaration in c++ with example?