Vidyalelo
C++ Programming · Q824

C++ miscellaneous

Programming · C++ Programming · question 824

Q824

What will be the output of the following C++ code? #include using namespace std; class sample public: virtual void example() = 0; ; class Ex1:public sample public: void example() cout example(); arra[1]->example();

A.
ubuntu
B.
is awesome
C.
ubuntu is awesome
Answer
D.
ubunt esome

Answer: Option C

Solution

Answer: Option C
No explanation is given for this question Let's Discuss on Board