
Array Element Swap
Choose your prefered Language:


Write a C language program that will alternate the contents of a one-dimensional N-integer matrix (N = known) as follows:
- The 1st element with the Nth element
- The 2nd element with the N-1 element
- etc...
The program will display the table before and after switching its data.