why all c++ program must have default constructor?
Answer Posted / varsha
Default constructor and destructor gice compilers a place to
hide the code such as invocation of contructors of Base
classes and non static data members.
| Is This Answer Correct ? | 0 Yes | 1 No |
Post New Answer View All Answers
What is a template in c++?
What is ios class in c++?
Write a single instruction that will store an EVEN random integer between 54 and 212 inclusive in the variable myran. (NOTE only generate EVEN random numbers)
What is the difference between #import and #include?
What is the difference between delegation and implemented-in-terms-of?
Can there be at least some solution to determine the number of arguments passed to a variable argument list function?
Tell me can a pure virtual function have an implementation?
Define what is constructor?
int age=35; if(age>80) {Console.WriteLine("Boy you are old");} else {Console.WrieLine("That is a good age");}
What is the use of function pointer?
How should runtime errors be handled in c++?
What does ctime() do?
What do you mean by vtable and vptr in c++?
What is the difference between structures and unions?
Explain what happens when a pointer is deleted twice?