当前位置:网站首页>Integer type of C language
Integer type of C language
2022-07-04 05:09:00 【Charming】
List of articles
- 1. Basic introduction
- 2. Case presentation :
- 3. The type of integer
- 4. Details of the use of integer
Integer types
1. Basic introduction
- C The integer type of language is used to store integer values , such as 12 , 30, 3456 wait
2. Case presentation :
int num = 10;
- 1.
3. The type of integer
4. Details of the use of integer
- Various types of storage sizes and operating systems 、 The number of bits in the system is related to the compiler , At present, the common is 64 Bit system is the main
- In practice ,c Programs usually run on linux/unix Under the operating system . Level 2 exam , Use windows
- C Integer type of language , Divided into signed
signed
And no sign unsigned
Two kinds of , The default is signed
- C Integers in programs are often declared as
int
type , Unless it's not enough to show a large number , Only use long long
-
bit
( position ): The smallest unit of storage in a computer .byte
( byte ): The basic storage unit in a computer .
1byte = 8bit
- 【 A simple example
short 3
and int 3
】
short 3
Occupy... In memory 2
byte
int 3
Occupy... In memory 4
A word
边栏推荐
- Test cs4344 stereo DA converter
- flink1.13 sql基础语法(一)DDL、DML
- 2022 question bank and answers for safety management personnel of hazardous chemical business units
- [untitled]
- IP时代来临,电竞酒店如何借好游戏的“东风”?
- Simulated small root pile
- Annex 4: scoring criteria of the attacker docx
- Trie number dictionary tree
- 由于使用flash存放参数时,擦除掉了flash的代码区导致进入硬件错误中断
- Just do it with your hands 7 - * project construction details 2 - hook configuration
猜你喜欢
海力士EMMC5.0及5.1系列对比详解
LM小型可编程控制器软件(基于CoDeSys)笔记二十一:错误3703
[interested reading] advantageous filtering modeling on long term user behavior sequences for click through rate pre
Simulated small root pile
2022 question bank and answers for safety management personnel of hazardous chemical business units
National vocational college skills competition (secondary vocational group) network security competition questions - Analysis
如何构建属于自己的知识引擎?社群开放申请
《Cross-view Transformers for real-time Map-view Semantic Segmentation》论文笔记
Headache delayed double deletion
Just do it with your hands 7 - * project construction details 2 - hook configuration
随机推荐
NTFS security permissions
[matlab] general function of communication signal modulation bandpass filter
【MATLAB】通信信号调制通用函数 — 傅里叶逆变换
Annex 4: scoring criteria of the attacker docx
We believe that the development of consumer Internet will still be limited to the Internet industry itself
中職組網絡安全—內存取證
Annex I: power of attorney for 202x XXX attack and defense drill
Electronic components mall and data manual download website summary
[matlab] matlab simulates digital bandpass transmission system ask, PSK, FSK system
flink1.13 sql基础语法(二)join操作
Exercise bubble sort
【MATLAB】通信信号调制通用函数 — 窄带高斯白噪声的生成
[matlab] matlab simulates digital baseband transmission system eye diagram of bipolar baseband signal (class I part response waveform)
Notes on the paper "cross view transformers for real time map view semantic segmentation"
2022年R2移动式压力容器充装复训题库及答案
【MATLAB】通信信号调制通用函数 — 插值函数
【MATLAB】通信信号调制通用函数 — 低通滤波器
【MATLAB】MATLAB 仿真模拟调制系统 — AM 已调信号的功率谱与相干解调
KMP match string
[paper summary] zero shot semantic segmentation