Q612
What is the use of swap() function in array class?
A.
Swaps two elements of an array given elements
B.
Swaps two arrays
AnswerC.
Swaps two elements given indices of elements
D.
Swaps same elements of the array if required
Answer: Option B
Solution
Answer: Option B
No explanation is given for this question Let's Discuss on Board