union的疑问
来源:互联网 发布:java jface 编辑:程序博客网 时间:2024/06/17 18:39
/*为什么
A={“a”} A.l=97
A={“aa”} A.l=24929 怎么得来的呢
A={“ab”} A.l=25185 与上一个 数值差256
*/
#include <stdio.h>
#include<iostream>
using
namespace
std;
union
a
{
char
str[4];
int
l;
}A={
"a"
};
int
main()
{ cout<<A.l;
system
(
"pause"
);
return
0;
}
0 0
- union的疑问
- Linux疑问---------文件系统的疑问---?????
- union/union all的用法
- union/union all的用法
- union, union all 的用法
- hibernate 的疑问
- 公厕的疑问
- 我的疑问
- 自定义标签的疑问
- webservice的疑问
- strcpy的疑问
- for循环的疑问
- Spring的疑问若干
- C++的疑问
- 我的疑问?
- .NET发布的疑问?
- SelectionSet的疑问
- java的疑问
- (笔记)原码、反码和补码的表示方法
- 在tomcat运行找不到xml,class ,项目中的java文件没有在WEB-INF\classes中生成class文件
- idea 导入eclipse tomcate 发布项目
- (示例5)设置场景的中心点
- matlab自动交易系统 gui设计随笔
- union的疑问
- centos6 pptp l2tp搭建
- mysql事务处理用法与实例详解
- 操作符重载_复数运算
- Android手机Fiddler2抓包教程
- SpringMVC 启动报错,conflicts with existing, non-compatible bean definition of same name and class ...
- ArcGIS制图表达Representation实战篇1-边界线和行道树制作
- 格雷码
- Soap UI Groovy 脚本访问授权的MongoDB