a) swap(arr1, arr2);
b) arr1.swap(arr2);
c) swap<int, int>(arr1, arr2);
d) swap[arr1, arr2];
What is the syntax of swap()?
-
answerhappygod
- Site Admin
- Posts: 899604
- Joined: Mon Aug 02, 2021 8:13 am
What is the syntax of swap()?
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!