Q254
What will be the output of the following C++ code? #include #include using namespace std; class Base public: virtual void function1() ; virtual void function2() ; ; int main() Base b; cout<<sizeof(b); return 0;
A.
1
B.
4
C.
8
AnswerD.
16
Answer: Option C
Solution
Answer: Option C
No explanation is given for this question Let's Discuss on Board