Which is referred by pointers to member?
A. static members of class objects
B. Non-static members of class objects
C. Refering to whole class
D. None of the mentioned
Answer:A
Which is referred by pointers to member?
A. static members of class objects B. Non-static members of class objects C. Refering to whole class D. None of the mentioned
Explanation:We cannot use a pointer to member to point to a static class member because the address of a static member is not associated with any particular object.