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 are the extraction and insertion operators in c++?
int age=35; if(age>80) {Console.WriteLine("Boy you are old");} else {Console.WrieLine("That is a good age");}
What are the benefits of operator overloading?
What is the main purpose of overloading operators?
What is a static member?
What is a buffer c++?
Why are pointers used?
How do you invoke a base member function from a derived class in which you have not overridden that function?
Why do we use classes in c++?
What data structure is fastest, on average, for retrieving data: a) Binary Tree b) Hash Table c) Stack
Will c++ be replaced?
How many characters are recognized by ANSI C++?
What is friend class in c++ with example?
What is data abstraction? How is it different from data encapsulation?
Distinguish between a # include and #define.