#include <stdio.h> main() { struct sk{ int a;float b; }data,*p; p=&data; data.a=10; printf("%d\n",(*p).a); printf("%d\n",p->a); getchar(); }
标签:10,include,C语言,printf,指针,data,结构 From: https://www.cnblogs.com/xkdn/p/17066294.html
#include <stdio.h> main() { struct sk{ int a;float b; }data,*p; p=&data; data.a=10; printf("%d\n",(*p).a); printf("%d\n",p->a); getchar(); }
标签:10,include,C语言,printf,指针,data,结构 From: https://www.cnblogs.com/xkdn/p/17066294.html