#include #include void fill_table(int table[10][10]){ int i,j; for(i=0;i<10;i++){ for(j=0;j<10;j++){ table[i][j] = rand() % 10; } } table[9][9] = 0; } void print_table(int table[10][10]) { int i,j; for(i=0; i<10; i++) { for(j=0; j<10; j++) { printf("%d ", *(*(table + i)+j) ); } printf("\n"); } printf("\n"); } void reverse(int * array1, int position, int * array2,int len1) { int start = 0; int end = len1-1; while (start < end) { int temp = array1[start]; array1[start] = array1[end]; array1[end] = temp; start++; end--; } } int find_and_replace_array(int * array1, int * array2,int len1,int len2){ int len3 = len2 - len1; int i,j,a; int position[2]; for (j = 0; j < 10; j++) { for (i = 0; i