int *invertir(int *vector, int size) { for (int x = 0; x < size; x++, size--) { int temp = vector[x]; vector[x] = vector[size]; vector[size] = temp; } return vector; }