Logic interchange the elements of an array, Lecture by Mr. Dhanesh Gupta.

Interchange the elements of an array
Interchange the elements of an arrays is to exchange the elements of both the array with each other
A. [5]=1,2,3,4,5 B. [5]=6,7,8,9,10
After Exchange :-
A. [5]= 6,7,8,9,10 B. [5]= 1,2,3,4,5