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
What is polymorphism in c++? Explain with an example?
Explain polymorphism?
State the difference between delete and delete[].
Is swift faster than go?
Describe new operator and delete operator?
Why do we learn c++?
What is the cout in c++?
Is c# written in c++?
What is a terminating character in c++?
What is namespace std; and what is consists of?
Why is c++ a mid-level programming language?
What are the various storage classes in C++?
What are c++ stream classes?
What is difference between malloc()/free() and new/delete?
How to tokenize a string in c++?