Given below are three implementations of the swap() function in C++: Which of…
UGC NET 2018
Given below are three implementations of the swap() function in C++:
Which of these would actually swap the contents of the two integer variables p and q?
- A.
(a) only
- B.
(b) only
- C.
(c) only
- D.
(b) and (c) only
Attempted by 210 students.
Sign up free to check your answer
Sign up freeLoading lesson…

