MCQOPTIONS
Saved Bookmarks
| 1. |
To create a pointer to a private data member of a class, outside the class, which among the following is correct? |
| A. | Return the address of the private data member using a member function |
| B. | Access the private member using a pointer outside class |
| C. | Declare the member as pointer inside the class |
| D. | Not possible to create pointer to a private member |
| Answer» B. Access the private member using a pointer outside class | |