Q794
What will be the output of the following C++ code? #include using namespace std; class Testpm public: void m_func1() cout * pmfn)(); ATestpm.*pmd = 1; pTestpm ->* pmd = 2; cout * pmd << endl;
A.
func1
B.
func1
func1
func1
C.
1
2
2
D.
func1
func1
1
2
Answerfunc1
1
2
Answer: Option D
Solution
Answer: Option D
No explanation is given for this question Let's Discuss on Board