Computer Applications

What happens when an argument is passed by reference?

User Defined Methods

16 Likes

Answer

In pass by reference, the reference of the actual parameter is passed to the formal parameter. Both actual parameter and formal parameter represent the same memory location so any changes made to the formal parameters get reflected in the actual parameters.

Answered By

10 Likes


Related Questions