2013年4月1日

摘要: 访问一个匿名union的成员就像访问普通变量,如:int main(){ union{ int i; char j; }; i = 2; j = 3;}如果匿名union在文件作用域内,则它必须被声明为static,如:staticunion{ int i; char j; };int f(){}int main(){}... 阅读全文
posted @ 2013-04-01 23:03 也 阅读(364) 评论(0) 推荐(0) 编辑

导航