Question: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:
A A::I A::f() { return 0; }
B A::I g(A::I p = A::x);
C A::I g(A::I p) { return 0; }
D A::I A::x = 0;
+ AnswerA
+ Report