Examveda
Examveda

Which is a good reason for passing a variable's address to a function?

A. the function will have a copy of the variable

B. the function cannot change the value of the variable in the calling function

C. C++ requires that all variables used in a function be passed by address

D. the function needs to change multiple variable values

E. the called function can change the value of the variable in the calling function

Answer: Option E


Join The Discussion

Related Questions on Object Oriented Programming Using C Plus Plus

A default catch block catches

A. all thrown objects

B. no thrown objects

C. any thrown object that has not been caught by an earlier catch block

D. all thrown objects that have been caught by an earlier catch block