why all c++ program must have default constructor?
Answer Posted / jayakrishna
In c++ we have constructors for initialising the values for
the variables where destructors are present in order to
deallocate the the memory after completion of the work.
| Is This Answer Correct ? | 1 Yes | 1 No |
Post New Answer View All Answers
Who was the creator of c++?
What is an orthogonal base class in c++?
what is upcasting in C++?
Why is c++ considered difficult?
Can a program run without main function?
Does std endl flush?
what are the iterator and generic algorithms.
If a base class declares a function to be virtual, and a derived class does not use the term virtual when overriding that class, is it still virtual when inherited by a third-generation class?
What's the order in which the local objects are destructed?
Explain the operation of overloading of an assignment operator.
What is the difference between containment and delegation?
What is the difference between delegation and implemented-in-terms-of?
What is late binding c++?
In int main(int argc, char *argv[]) what is argv[0] a) The first argument passed into the program b) The program name c) You can't define main like that
Write a C/C++ program that connects to a MySQL server and checks if the InnoDB plug-in is installed on it. If so, your program should print the maximum number of concurrent threads that the InnoDB plug-in can create