#include <stdio.h>
#include <stdlib.h>
int main()
{
int vetor [4] = {1,2,3,4 };
int i;
int *pt = vetor;
for(i = 0; i < 4; i++)
{
printf("\nLocal: %p, Valor: %d\n", pt
, *pt
); pt++;
}
return 0;
}
I2luY2x1ZGUgPHN0ZGlvLmg+CiNpbmNsdWRlIDxzdGRsaWIuaD4KCmludCBtYWluKCkKewoKICAgIGludCB2ZXRvciBbNF0gPSB7MSwyLDMsNCB9OwogICAgaW50IGk7CiAgICBpbnQgKnB0ID0gdmV0b3I7CgogICAgZm9yKGkgPSAwOyBpIDwgNDsgaSsrKQogICAgewoKCgogICAgICAgIHByaW50ZigiXG5Mb2NhbDogJXAsIFZhbG9yOiAlZFxuIiwgcHQsICpwdCk7CiAgICAgICAgcHQrKzsKICAgIH0KCiAgICByZXR1cm4gMDsKfQo=