当前位置:网站首页>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
边栏推荐
- Arrangement of some library files
- Synchronization of QT multithreading
- 319. 灯泡开关
- Working principle and type selection of common mode inductor
- Several problems to be considered and solved in the design of multi tenant architecture
- Talk about the function of magnetic beads in circuits
- Xrosstools tool installation for X-Series
- Affected tree (tree DP)
- 猜谜语啦(9)
- Void* C is a carrier for realizing polymorphism
猜你喜欢
[three tier architecture]
Briefly talk about the identification protocol of mobile port -bc1.2
Ble encryption details
L298N module use
MySQL MHA high availability cluster
[paper reading] the latest transfer ability in deep learning: a survey in 2022
Apaas platform of TOP10 abroad
Example 005: three numbers sorting input three integers x, y, Z, please output these three numbers from small to large.
实例007:copy 将一个列表的数据复制到另一个列表中。
How apaas is applied in different organizational structures
随机推荐
How to write cover letter?
Weidongshan Internet of things learning lesson 1
实例010:给人看的时间
PIP installation
Explain task scheduling based on Cortex-M3 in detail (Part 1)
Void* C is a carrier for realizing polymorphism
每日一题——输入一个日期,输出它是该年的第几天
On boost circuit
An enterprise information integration system
319. 灯泡开关
Naming rules for FreeRTOS
Example 001: the number combination has four numbers: 1, 2, 3, 4. How many three digits can be formed that are different from each other and have no duplicate numbers? How many are each?
Affected tree (tree DP)
实例005:三数排序 输入三个整数x,y,z,请把这三个数由小到大输出。
STM32---ADC
Is the security account given by Yixue school safe? Where can I open an account
Lori remote control commissioning record
如何写Cover Letter?
STM32 single chip microcomputer - external interrupt
Bluebridge cup internet of things basic graphic tutorial - GPIO input key control LD5 on and off