#include <stdio.h>
typedef struct a A ;
struct a{
int t;
};
void X ();
void Y (A *task);
int main(void) {
X();
return 0;
}
void X(){
A task;
task.t = 0 ;
Y(&task);
printf("task.t = %d\n%p \n",task.
t,&task.
t); }
void Y(A *task){
task->t = 1 ;
printf("task->t = %d\n%p\n",task
->t
,&task
->t
); }
CiNpbmNsdWRlIDxzdGRpby5oPgoKdHlwZWRlZiBzdHJ1Y3QgYSBBIDsKc3RydWN0IGF7CglpbnQgdDsKfTsKCnZvaWQgWCAoKTsKdm9pZCBZIChBICp0YXNrKTsKCgppbnQgbWFpbih2b2lkKSB7CgkKCVgoKTsKCQoJcmV0dXJuIDA7Cn0KCnZvaWQgWCgpewoJQSB0YXNrOwoJdGFzay50ID0gMCA7CglZKCZ0YXNrKTsKCXByaW50ZigidGFzay50ID0gICVkXG4lcCBcbiIsdGFzay50LCZ0YXNrLnQpOwp9Cgp2b2lkIFkoQSAqdGFzayl7Cgl0YXNrLT50ID0gMSA7CglwcmludGYoInRhc2stPnQgPSAlZFxuJXBcbiIsdGFzay0+dCwmdGFzay0+dCk7Cn0=