text: #include <stdio.h>
  
  void intary_rcpy(int v1[], const int v2[] ,int n);
  
  int main(void) {
      int v1[] = {0, 0, 0, 0, 0};
      int v2[] = {1, 2, 3, 4, 6};
  
      for (int i = 0; i < 5; i++) {
          printf("%-2d", v2[i]);
      }
      intary_rcpy(v1, v2, 5);
      printf("倒序排列为: ");
      for (int i = 0; i < 5; i++) {
          printf("%-2d", v1[i]);
      }
  
      return 0;
  }
  
  void intary_rcpy(int v1[], const int v2[], int n) {
      for (int i = 0; i < n; ++i) {
          v1[i] = v2[n - 1 - i];
      }
  }