InterviewSolution
Saved Bookmarks
| 1. |
Pass by address passes the address of object _________ and pass by reference passes the address of the object _________(a) Explicitly, explicitly(b) Implicitly, implicitly(c) Explicitly, Implicitly(d) Implicitly, explicitlyI got this question by my college professor while I was bunking the class.The doubt is from Passing and Returning Object with Functions in chapter Object of Object Oriented Programming |
|
Answer» RIGHT answer is (c) Explicitly, IMPLICITLY Explanation: Pass by address USES the EXPLICIT address passing to the FUNCTION whereas pass by reference implicitly passes the address of the object. |
|