Q884
What will be the output of the following C++ code? #include using namespace std; class Foo public: Foo(int i = 0) _i = i; void f() cout f();
A.
Executed
AnswerB.
Error
C.
Runtime error
D.
10
Answer: Option A
Solution
Answer: Option A
No explanation is given for this question Let's Discuss on Board