Computer Science - Object Oriented Programming Using C++ - Discussion

Discussion Forum : Object Oriented Programming Using C++ - Section 2 (Q.No. 24)
24.
When an argument is passed by reference,
a variable is created in the function to hold the argument's value
the function cannot access the argument's value
a temporary variable is created in the calling program to hold the argument's value
the function accesses the argument's original value in the calling program
None of the above
Answer: Option
Explanation:
No answer description is available. Let's discuss.
Discussion:
3 comments Page 1 of 1.

Vaibhav said:   6 years ago
Reference is an alias to the original variable. It refers to the same memory Location.

Ravi said:   9 years ago
Can any one explain why option 'B' is wrong?

Sundar said:   1 decade ago
When an argument is passed by REFERENCE- Option D.

When an argument is passed by VALUE - Option A.

Post your comments here:

Your comments will be displayed after verification.