InterviewSolution
Saved Bookmarks
| 1. |
Predict the output of following program.#include<iostream>using namespace std;class Base{public:virtual void show() = 0;};class Derived : public Base { };int main(void){Derived q;return 0;}(A) Compiler Error: there cannot be an empty derived class(B) Compiler Error: Derived is abstract(C) No compiler Error |
| Answer» | |