ObjectiveMcq
Print Protected
This page is protected for print. Use the website to view the content.
What is the use of swap() function in array class?
Correct Answer: A — Swaps two arrays
swap() function is used to swap elements of two array classes provided the size of both arrays classes are same.