Thread
:
1-D array
View Single Post
shabbir
Go4Expert Founder
16May2006,22:07
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