Saved Bookmarks
| 1. |
How can the address stored in the pointer be retrieved?(a) Using * symbol(b) Using $ symbol(c) Using & symbol(d) Using @ symbolThe question was asked in examination.I want to ask this question from Pointer to Objects in division Assigning Object, Pointer to Objects, Passing and Returning Object of Object Oriented Programming |
|
Answer» RIGHT CHOICE is (C) USING & symbol The BEST I can explain: The & symbol must be used. This should be done such that the object should be preceded by & symbol and then the address should be stored in another variable. This is done to get the address where the object is stored. |
|