标题:共用型
取消只看楼主
JENNET
Rank: 1
等 级:新手上路
帖 子:33
专家分:0
注 册:2006-5-28
 问题点数:0 回复次数:0 
共用型
#include "stdio.h"

main()
{
union zj
{
int a;
char ch[2];
}au;
au.a=298;
printf("%d,%d,",au.ch[0],au.ch[1]);

这里的42和1是怎么算出来的?
搜索更多相关主题的帖子: include 
2006-06-29 11:20



参与讨论请移步原网站贴子:https://bbs.bccn.net/thread-75603-1-1.html




关于我们 | 广告合作 | 编程中国 | 清除Cookies | TOP | 手机版

编程中国 版权所有,并保留所有权利。
Powered by Discuz, Processed in 1.185991 second(s), 8 queries.
Copyright©2004-2025, BCCN.NET, All Rights Reserved