Consider the following C function
In order to exchange the values of two variables x and y.
(A) Call swap (x, y)
(B) Call swap (&x, &y)
(C) swap(x,y) cannot be used as it does not return any value
(D) swap(x,y) cannot be used as the parameters are passed by value
Explanation: See question 3 of https://www.geeksforgeeks.org/c-language-set-2/
Quiz of this Question