Swap Function For Array

Hi, I need some help with swapping elements within the Array.

I already have the construct array code etc, so I am giving an example of what I am trying to do..

How do I swap an element in the array itself? Please help out, thank you.

void swapArray (int [], int, int&, int&);
{



}
What do you need exactly? To swap elements like the 3rd to be put in the 5fth and vice versa, or just reverse the whole array?
Topic archived. No new replies allowed.