Q43
What will be the output of the following C++ code? #include #include using namespace std; class A float d; public: virtual void func() cout func(); return 0;
A.
Hello this is class A
B.
Hello this is class B
C.
Error
D.
Segmentation Fault
AnswerAnswer: Option D
Solution
Answer: Option D
No explanation is given for this question Let's Discuss on Board