#include <stdio.h>
struct teste {
int valor;
int *aponta;
};
int main() {
struct teste testando, *testado;
testado = &testando;
testado->valor = 10;
int teste2 = 123;
testado->aponta = &teste2;
*(testado->aponta) = 456;
printf("%d %d", teste2
, *(testado
->aponta
)); }
I2luY2x1ZGUgPHN0ZGlvLmg+CgpzdHJ1Y3QgdGVzdGUgeyAKICAgIGludCB2YWxvcjsKICAgIGludCAqYXBvbnRhOwp9OwoKaW50IG1haW4oKSB7CgogICAgc3RydWN0IHRlc3RlIHRlc3RhbmRvLCAqdGVzdGFkbzsKCiAgICB0ZXN0YWRvID0gJnRlc3RhbmRvOwogICAgdGVzdGFkby0+dmFsb3IgPSAxMDsKICAgIGludCB0ZXN0ZTIgPSAxMjM7CiAgICB0ZXN0YWRvLT5hcG9udGEgPSAmdGVzdGUyOwogICAgKih0ZXN0YWRvLT5hcG9udGEpID0gNDU2OwogICAgcHJpbnRmKCIlZCAlZCIsIHRlc3RlMiwgKih0ZXN0YWRvLT5hcG9udGEpKTsKfQ==