I have variable
int v1, v2;
I have two pointers:
int *ptr1, *ptr2;
and an array of pointers
int *array[2] = {ptr1, ptr2};
It is possible to change the ptr1 using pointer array to do operation like ptr1 = &v2
array[0] = &v1; (I know this record is wrong, but I mean the idea of writing new value into the ptr1 pointer)
int * ptr1 = &v1; int **arr[] = {&ptr1}; *arr[0] = &v2;