1 2 3 4 5 6 7 8 9 | #include<stdio.h> int main (){ int x = 10; int* a = &x; int** b = &a; printf("%d %d %d %d %d %d ",x,a,*a,b,*b,**b); return 0; } |
I2luY2x1ZGU8c3RkaW8uaD4KCmludCBtYWluICgpewoJaW50IHggPSAxMDsKICAgICAgICBpbnQqIGEgPSAmeDsKCWludCoqIGIgPSAmYTsKCXByaW50ZigiJWQgICVkICAlZCAgJWQgICVkICAlZCAgIix4LGEsKmEsYiwqYiwqKmIpOwoJcmV0dXJuIDA7Cn0=
prog.cpp: In function ‘int main()’: prog.cpp:7: warning: format ‘%d’ expects type ‘int’, but argument 3 has type ‘int*’ prog.cpp:7: warning: format ‘%d’ expects type ‘int’, but argument 5 has type ‘int**’ prog.cpp:7: warning: format ‘%d’ expects type ‘int’, but argument 6 has type ‘int*’
-
upload with new input
-
result: Success time: 0s memory: 2724 kB returned value: 0
10 -1080912588 10 -1080912592 -1080912588 10


