R
Q. What is the output of below program?
class base { public: base() { cout<<"BCon"; } ~base() { cout<<"BDest "; } }; class derived: public base { public: derived() { cout<<"DCon "; } ~derived() { cout<<"DDest "; } }; int main() { derived object; return 0; }
No solution found for this question.
Add Solution and get +2 points.
You must be Logged in to update hint/solution
Be the first to start discuss.
Q. What is the output of the following program?
Q. At which time does the static_cast can be applied?
Q. The size of an object or a type can be determined using which operator?
Q. OOPs follows ‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐ approach during program design.
Q. When is std::bad_alloc exception thrown?
Q. Standard input-output stream is in c++:
Q. To perform File I/O operations, we must use _____________ header file.
Q. Which operator requires three operands?
Q. Value of ix+j, if i,j are integer type and ix long type would be
Discusssion
Login to discuss.