当前位置:网站首页>Classification of plastic surgery: short in long long long
Classification of plastic surgery: short in long long long
2022-07-05 08:33:00 【Bright moon and clear wind - continuous improvement】
#define _CRT_SECURE_NO_WARNINGS
#include <stdio.h>
int main()
{
short a = 0xffff;
int b = 0xffffffff;
long c = 0xffffffffL;
long long d = 0xffffffffffffffffLL;
printf("a = %hx\n", a);
printf("b = %x\n", b);
printf("c = %lx\n", c);
printf("d = %llx\n", d);
return 0;
}
The operation results are as follows :
The size of memory occupied by shaping variables is related to the operating system :
short 2 byte
int 4 byte
long windows:4 byte linux32 position 4 byte linux64 position 8 byte
longlong 8 byte
边栏推荐
- FIO测试硬盘性能参数和实例详细总结(附源码)
- MATLAB小技巧(28)模糊綜合評價
- L298N module use
- MySQL之MHA高可用集群
- Example 002: the bonus paid by the "individual income tax calculation" enterprise is based on the profit commission. When the profit (I) is less than or equal to 100000 yuan, the bonus can be increase
- 287. 寻找重复数-快慢指针
- Agile project management of project management
- STM32 single chip microcomputer - bit band operation
- Void* C is a carrier for realizing polymorphism
- Is the security account given by Yixue school safe? Where can I open an account
猜你喜欢
实例009:暂停一秒输出
Negative pressure generation of buck-boost circuit
OC and OD gate circuit
Explain task scheduling based on Cortex-M3 in detail (Part 2)
Bluebridge cup internet of things basic graphic tutorial - GPIO output control LD5 on and off
MATLAB小技巧(28)模糊综合评价
List of linked lists
STM32 single chip microcomputer - bit band operation
Brief discussion on Buck buck circuit
UE pixel stream, come to a "diet pill"!
随机推荐
C language data type replacement
[NAS1](2021CVPR)AttentiveNAS: Improving Neural Architecture Search via Attentive Sampling (未完)
STM32 outputs 1PPS with adjustable phase
Slist of linked list
List of linked lists
STM32 lights up the 1.8-inch screen under Arduino IDE
Count the number of inputs (C language)
Why is 1900 not a leap year
Several problems to be considered and solved in the design of multi tenant architecture
FIO测试硬盘性能参数和实例详细总结(附源码)
Stablq of linked list
MySQL之MHA高可用集群
Detailed summary of FIO test hard disk performance parameters and examples (with source code)
Sizeof (function name) =?
STM32 single chip microcomputer - bit band operation
实例007:copy 将一个列表的数据复制到另一个列表中。
[three tier architecture]
Bluebridge cup internet of things competition basic graphic tutorial - clock selection
Infected Tree(树形dp)
Management and use of DokuWiki