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

Discussion Forum : Object Oriented Programming Using C++ - Section 7 (Q.No. 29)
29.
Which is a good reason for passing a variable's address to a function?
the function will have a copy of the variable
the function cannot change the value of the variable in the calling function
C++ requires that all variables used in a function be passed by address
the function needs to change multiple variable values
the called function can change the value of the variable in the calling function
Answer: Option
Explanation:
No answer description is available. Let's discuss.
Discussion:
1 comments Page 1 of 1.

Omar Othman said:   1 decade ago
Both B and D are correct.

Post your comments here:

Your comments will be displayed after verification.