From my assignment:
Create a function "swapArray" which takes the array created above as parameter, and swaps first
half of the elements with second half of the elements. You must use pointers to perform this
operation. Print the array after swapping.
eg1: [ 1 23 11 200 50 ] -> [ 200 50 11 1 23 ]
eg2: [ 54 251 42 7 60 800 ] -> [7 60 800 54 251 42]