当前位置:网站首页>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
边栏推荐
- Cinq détails de conception du régulateur de tension linéaire
- Arrangement of some library files
- Detailed summary of FIO test hard disk performance parameters and examples (with source code)
- Classic application of MOS transistor circuit design (2) - switch circuit design
- 实例004:这天第几天 输入某年某月某日,判断这一天是这一年的第几天?
- Explore the authentication mechanism of StarUML
- STM32 lights up the 1.8-inch screen under Arduino IDE
- Stm32--- systick timer
- Five design details of linear regulator
- Google sitemap files for rails Projects - Google sitemap files for rails projects
猜你喜欢
Xrosstools tool installation for X-Series
319. 灯泡开关
STM32 single chip microcomputer -- debug in keil5 cannot enter the main function
[cloud native | learn kubernetes from scratch] III. kubernetes cluster management tool kubectl
Management and use of DokuWiki (supplementary)
Sword finger offer 06 Print linked list from end to end
如何写Cover Letter?
UE pixel stream, come to a "diet pill"!
Summary of SIM card circuit knowledge
猜谜语啦(4)
随机推荐
猜谜语啦(2)
猜谜语啦(8)
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?
STM32 outputs 1PPS with adjustable phase
实例006:斐波那契数列
亿学学堂给的证券账户安不安全?哪里可以开户
Example 005: three numbers sorting input three integers x, y, Z, please output these three numbers from small to large.
319. 灯泡开关
STM32 summary (HAL Library) - DHT11 temperature sensor (intelligent safety assisted driving system)
猜谜语啦(3)
Arduino+a4988 control stepper motor
Talk about the circuit use of TVs tube
QEMU STM32 vscode debugging environment configuration
MySQL MHA high availability cluster
Example 010: time to show
Lori remote control commissioning record
Sword finger offer 06 Print linked list from end to end
Apaas platform of TOP10 abroad
Explore the authentication mechanism of StarUML
MATLAB小技巧(28)模糊綜合評價