August 29, 2024OOPSQuestion 18 What should be the name of the constructor A same as object B same as member C same as class D same as function […]
August 29, 2024OOPSQuestion 20 What is the output of the following program: #include class sample { private int a,b’ public: void test ( ) { a = 100; […]
August 29, 2024OOPSQuestion 29 Usually a pure virtual function A has complete function body B will never be called C will be called only to delete an object […]
August 29, 2024OOPSQuestion 27 How constructor differ from destructor? A Constructors can be overloaded but destructors can’t be overloaded B Constructors can take arguments but destructor can’t C […]