当前位置:网站首页>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
边栏推荐
- Electronic components mall and data manual download website summary
- Sécurité du réseau dans les écoles professionnelles secondaires - preuve de mémoire
- Zkevm (12) state proof of appliedzkp
- Technology Management - learning / practice
- 【MATLAB】MATLAB 仿真模拟调制系统 — FM 系统
- 数据标注是一块肥肉,盯上这块肉的不止中国丨曼孚科技
- 2022年6月总结
- VSCode的有用插件
- Use units of measure in your code for a better life
- A summary of the 8544 problem that SolidWorks Standard cannot obtain a license
猜你喜欢
Use units of measure in your code for a better life
VSCode的有用插件
LM小型可编程控制器软件(基于CoDeSys)笔记二十一:错误3703
Public inputs in appliedzkp zkevm (13)
Simulink与Arduino串口通信
Share some of my telecommuting experience
Zhongke Panyun - module a infrastructure setting and safety reinforcement scoring standard
关于solidworks standard无法获得许可 8544问题的总结
PostgreSQL has officially surpassed mysql. Is this guy too strong!
Flutter ‘/usr/lib/libswiftCore. dylib‘ (no such file)
随机推荐
IP时代来临,电竞酒店如何借好游戏的“东风”?
Introduction and application of rampax in unity: optimization of dissolution effect
C basic (VII) document operation
Useful plug-ins for vscode
Using jsts in esmodule environment
[matlab] general function of communication signal modulation inverse Fourier transform
appliedzkp的zkevm(12)State Proof
[matlab] matlab simulation - simulate the AM modulation process of the modulation system
Utiliser des unités de mesure dans votre code pour une vie meilleure
Two sides of the evening: tell me about the bloom filter and cuckoo filter? Application scenario? I'm confused..
中科磐云—2022广西逆向解析思路
Graduation design of small programs -- small programs of food and recipes
2022G2电站锅炉司炉特种作业证考试题库及答案
KMP匹配字符串
[paper summary] zero shot semantic segmentation
ping端口神器psping
中科磐云—2022广东木马信息获取解析
The first introduction, stages and methods of defense system breakthrough from the perspective of the red team
NTFS 安全权限
Notepad++--显示相关的配置