Vidyalelo
Computer Science · Q30

Object Oriented Programming Using C++

Engineering and GATE · Computer Science · question 30

Q30

When you pass a variable _____, C++ passes only the contents of the variable to the receiving function

A.
by reference
B.
by value
Answer
C.
globally
D.
locally

Answer: Option B

Solution

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