MCQs>IT & Programming>C++ MCQs>Consider the following code: class A { typedef int I; // private member I f(); friend I g(I); static I x; }; Which of the following are valid:
C++ MCQs
Consider the following code:
class A { typedef int I; // private member I f(); friend I g(I); static I x; };
Which of the following are valid:
Answer
Correct Answer: A::I g(A::I p = A::x);
Explanation:
Note: This Question is unanswered, help us to find answer for this one