Answer Posted / munendra kumar
A constructor that has no arguments.
If you don't code one, the compiler provides one if there are no other constructors. If you are going to instantiate an array of objects of the class, the class must have a default constructor.
Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
Why do we use constructor?
State the difference between delete and delete[].
Define the process of error-handling in case of constructor failure?
What is the copy-and-swap idiom?
Which software is used to run c++ program?
What is the rule of three?
Explain function overloading and operator overloading.
What is a storage class used in c++?
Give the difference between the type casting and automatic type conversion. Also tell a suitable C++ code to illustrate both.
What is an arraylist c++?
What is difference between rand () and srand ()?
Briefly describe a B+ tree. What is bulk loading in it?
What are the rules for naming an identifier?
What is general format for a prototype?
What do you mean by delegate? Can a user retain delegates?