int* reverse(int* array, int* size){ for (int i=0; i<*size; i++){ *(array+size-1-i=*(array+i); }return array; } int main(){ int size, i; printf("size of the array\n"); scanf("%d",&size); int array[size]; printf("values for array\n"); for (i=0; i