#include <stdio.h>
struct Coodinate{
int x;
int y;
int z;
};
int main(void) {
struct Coodinate pos;
struct Coodinate *ptr = &pos;
ptr->x=10;
ptr->y=20;
ptr->z=30;
printf("x:%d,y:%d,z:%d\n",pos.
x,pos.
y,pos.
z);
return 0;
}
I2luY2x1ZGUgPHN0ZGlvLmg+CgpzdHJ1Y3QgQ29vZGluYXRlewoJaW50IHg7CglpbnQgeTsKCWludCB6Owp9OwoKaW50IG1haW4odm9pZCkgewoKc3RydWN0IENvb2RpbmF0ZSBwb3M7CgpzdHJ1Y3QgQ29vZGluYXRlICpwdHIgPSAmcG9zOwoKcHRyLT54PTEwOwpwdHItPnk9MjA7CnB0ci0+ej0zMDsKCnByaW50ZigieDolZCx5OiVkLHo6JWRcbiIscG9zLngscG9zLnkscG9zLnopOwoKCXJldHVybiAwOwp9Cg==