Vidyalelo
C++ Programming · Q71

Functions and Procedures in C++

Programming · C++ Programming · question 71

Q71

What will happen while using pass by reference?

A.
The values of those variables are passed to the function so that it can manipulate them
B.
The location of variable in memory is passed to the function so that it can use the same memory area for its processing
Answer
C.
The function declaration should contain ampersand (& in its type declaration)
D.
The function declaration should contain $

Answer: Option B

Solution

Answer: Option B
No explanation is given for this question Let's Discuss on Board