struct

struct test v,*p;

p = &v;

 

====>  v.a和p->a是标准写法;

      (&v)->a和(*p).a也是合法的

posted @ 2017-02-08 14:02  骨子带刺  阅读(117)  评论(0编辑  收藏  举报