I am supposed to use pointers to swap ints in an array. It compiles with no errors or warnings and runs but does not swap the ints. Any suggestions would be helpful!!!
You move the second value into the first spot, and then move the first value back into the first spot.