Home / MCQ Bank / Computer
Computer Plus Plus Miscellaneous

Given below classes which of the following are the possible row entries in vtable of D2 class? class Base { public: virtual void function1() {}; virtual void function2() {}; }; class D1: public Base { public: virtual void function1() {}; }; class D2: public Base { public: virtual void function2() {}; };

Select the best option to verify your answer:
Show Correct Answer
Correct Answer: Option C • Base::function1() and D2::function2()

Related Computer Questions

What will be the worst case time complexity of code to find sum in given query range (l,r) in an array of size n with q number of such queries when we apply MO's algorithm? When typing in Preeti font all the Ukars turn to something else? What's the cause? Which operator is used to declare the destructor? ______ was the first web browser to implement the omnibox. Which collision resolution technique involves using a secondary hash function?