

MCQOPTIONS
Saved Bookmarks
1. |
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 |
Answer» C. (c) only | |