Link to home
Start Free TrialLog in
Avatar of leena_mary
leena_mary

asked on

Reference

How a reference to an object is implemented? With the reference a locally declared object can be accessed from another called function. How this is implemented without
passing the address of the object?
ASKER CERTIFIED SOLUTION
Avatar of Answers2000
Answers2000

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of pagladasu
pagladasu

Answers2000 is right. When a reference to an object is passed as an argument to a function, in reality the address of the object is passed.

Avatar of leena_mary

ASKER

Here are your points Answers2000.
Thank u pagladasu for your comment.