Steve
2010-06-20 01:14:24 UTC
Question:
Name your function reverse. The function reverse must be able to handle an array of any size. Do NOT assume an array of specified limited size will be passed to the reverse function. The main function is the test driver. In main, print the array, then call the reverse function, then print the array again in main, to show it has been reversed.
Test your function with two arrays
2 4 6 8 10
1 2 3 4 5 6