当前位置:网站首页>Memory size end
Memory size end
2022-07-01 08:38:00 【ughome】
long abc = 0x12345678;
abc >>= 8;
printf("%x\n", (unsigned char)abc);
abc >>= 8;
printf("%x\n", (unsigned char)abc);
abc >>= 8;
printf("%x\n", (unsigned char)abc);
0x12345678
The memory distribution on the small end machine is 78 56 34 12
When moving to the right, the memory window moves to the left , For example, moving once becomes 56 34 12 00
Integer value bit 0X00123456
But when you think of him as char when , He only looks at the first byte , That is to say 0X56 了 .
边栏推荐
- 基础:2.图像的本质
- 栈实现计算器
- How to use OKR as the leadership framework of marketing department
- Glitch Free时钟切换技术
- 串口转WIFI模块通信
- 19Mn6 German standard pressure vessel steel plate 19Mn6 Wugang fixed binding 19Mn6 chemical composition
- Yolov5进阶之六目标追踪环境搭建
- Share 7 books I read in the first half of 2022
- [深度剖析C语言] —— 数据在内存中的存储
- leetcode T31:下一排列
猜你喜欢
随机推荐
Matlab tips (23) matrix analysis -- simulated annealing
Audio-AudioRecord create(一)
vscode自定义各个区域的颜色
NIO-零拷贝
爬虫知识点总结
Intelligent water conservancy solution
栈实现计算器
Brief introduction to AES
What is the material of 15CrMoR, mechanical properties and chemical analysis of 15CrMoR
网关gateway-88
[Yu Yue education] Shandong Vocational College talking about railway reference materials
DID的使用指南,原理
Manually dig XSS vulnerabilities
深度学习训练样本扩增同时修改标签名称
Tita OKR: a dashboard to master the big picture
Guidelines and principles of did
【C】 Summary of wrong questions in winter vacation
Intelligent constant pressure irrigation system
On several key issues of digital transformation
[深度剖析C语言] —— 数据在内存中的存储









