By DePaul Dimadis
Choose your prefered Language: greek_flag uk_flag

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.