I was writing a program in C just for fun (and exercise) and I stumbled upon this behavior which I don't understand...
Incrementing a pointer within a function is not possible with the ++ operator
void fn(void **p)
{
*p++;
// other options like *p+=1 or ++*p work, but I dont understand why...
}
Could someone explain (for a noob ;) ) why this doesn't work ? I am very curious.