摘要: #include <stdio.h> struct s{ int a; int b; int c; char d;};void main(){ printf("%d",&((struct s *) 0)->a); //把结构体s的起始位置视为0,返回结构体s的成员a的位置【输出结果为0】 print 阅读全文
posted @ 2022-07-14 11:15 gǒが油メo 阅读(504) 评论(0) 推荐(0)