In which of the following case(s) is it possible to obtain different results…
GATE · 1989 · CS · Question 3 subparts
In which of the following case(s) is it possible to obtain different results for call-by-reference and call-by-name parameter passing?
- A.
Passing an expression as a parameter
- B.
Passing an array as a parameter
- C.
Passing a pointer as a parameter
- D.
Passing as array element as a parameter
Attempted by 22 students.
Sign up free to check your answer
Sign up freeLoading lesson…