How do i swap the values of diff keys

how do i swap the values of diff keys??

@Manvik-Arya-4391661007540658,
You can use STL swap() function.