当前位置:网站首页>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
边栏推荐
- Xrosstools tool installation for X-Series
- Briefly talk about the identification protocol of mobile port -bc1.2
- leetcode - 445. 两数相加 II
- QEMU demo makefile analysis
- Example 009: pause output for one second
- Synchronization of QT multithreading
- OC and OD gate circuit
- 实例010:给人看的时间
- 696. 计数二进制子串
- Chapter 18 using work queue manager (1)
猜你喜欢
[three tier architecture and JDBC summary]
STM32---IIC
List of linked lists
Ble encryption details
Summary of SIM card circuit knowledge
[three tier architecture]
Talk about the function of magnetic beads in circuits
Example 003: a complete square is an integer. It is a complete square after adding 100, and it is a complete square after adding 168. What is the number?
Simple design description of MIC circuit of ECM mobile phone
【三层架构】
随机推荐
Summary of SIM card circuit knowledge
99 multiplication table (C language)
STM32 virtualization environment of QEMU
Keil use details -- magic wand
Go dependency injection -- Google open source library wire
Bluebridge cup internet of things competition basic graphic tutorial - clock selection
猜谜语啦(11)
2022.7.4-----leetcode. one thousand and two hundred
亿学学堂给的证券账户安不安全?哪里可以开户
Working principle and type selection of common mode inductor
Example 003: a complete square is an integer. It is a complete square after adding 100, and it is a complete square after adding 168. What is the number?
Several implementation schemes of anti reverse connection protection of positive and negative poles of power supply!
C language data type replacement
Arrangement of some library files
剑指 Offer 05. 替换空格
QEMU STM32 vscode debugging environment configuration
Five design details of linear regulator
实例007:copy 将一个列表的数据复制到另一个列表中。
猜谜语啦(142)
STM32 outputs 1PPS with adjustable phase