#include <stdio.h>
int a[] = { -1, -2, -3, -4 };
int b[] = { 0, 1, 2, 3 };
int main()
{
int *p[] = { a, b };
int **pp = p;
printf("a=%p, b=%p, p=%p, pp=%p\n", (void*)a
, (void*)b
, (void*)p
, (void*)pp
); ++pp;
printf("p=%p, pp=%p *pp=%p\n", (void*)p
, (void*)pp
, (void*)*pp
); ++*pp;
printf("p=%p, pp=%p *pp=%p\n", (void*)p
, (void*)pp
, (void*)*pp
); ++**pp;
}
I2luY2x1ZGUgPHN0ZGlvLmg+CgppbnQgYVtdID0geyAtMSwgLTIsIC0zLCAtNCB9OwppbnQgYltdID0geyAwLCAxLCAyLCAzIH07CgppbnQgbWFpbigpCnsKICAgIGludCAqcFtdID0geyBhLCBiIH07CiAgICBpbnQgKipwcCA9IHA7CiAgICBwcmludGYoImE9JXAsIGI9JXAsIHA9JXAsIHBwPSVwXG4iLCAodm9pZCopYSwgKHZvaWQqKWIsICh2b2lkKilwLCAodm9pZCopcHApOwogICAgKytwcDsKICAgIHByaW50ZigicD0lcCwgcHA9JXAgKnBwPSVwXG4iLCAodm9pZCopcCwgKHZvaWQqKXBwLCAodm9pZCopKnBwKTsKICAgICsrKnBwOwogICAgcHJpbnRmKCJwPSVwLCBwcD0lcCAqcHA9JXBcbiIsICh2b2lkKilwLCAodm9pZCopcHAsICh2b2lkKikqcHApOwogICAgKysqKnBwOwoKICAgIHByaW50ZigiJWRcbiIsICgrKyoqcHApW2FdKTsKfQ==