c programm pointer change in function
void change(int **p, int *someOtherAddress) // **p *b allazei o p kai deixnei sto b //
{
*p = someOtherAddress;
}
int a = 1, b = 2;
int *p = &a;
printf("*p = %d\n", *p);
change(&p, &b);
printf("*p = %d\n", *p);