Quote:
Originally Posted by jack999
my question is how can i swap the elements of the array????
By taking a temp variable and then interchanging the values from one to the other.

temp = Arr[n];
Arr[n] = Arr[m];
Arr[m] = temp;

Thanks
Shabbir