当前位置:网站首页>001 data type [basic]
001 data type [basic]
2022-06-30 15:01:00 【Shadow_ shape】
Catalog
Photo version of the article , Convenient for mobile phone viewing
Basic data types
Data types are used to define variables
char Character data type
short Short
int integer
long Long integer
long long Longer integers
float Single-precision floating-point
double Double precision floating point
sizeof Data type size
sizeof yes C A key word of language , Calculate the size of the data type , Unit is byte
sizeof(char) 1
sizeof(short) 2
sizeof(int) 4
sizeof(long) 4
sizeof(long long) 8
sizeof(float) 4
sizeof(double) 8
A byte is 8 position , Each can represent 0 and 1 Two figures
Photo version of the article , Convenient for mobile phone viewing

边栏推荐
- Implement a long-click list pop-up box on apiccloud
- 1149 dangerous goods packaging (25 points)
- LIS error: this configuration section cannot be used in this path
- CCF drawing (full mark code + problem solving ideas + skill summary) February 2, 2014
- 1150 traveling salesman problem (25 points)
- Matlab two-dimensional array example (extract data)
- CCF date calculation (Full Score code + skill summary) February 2, 2015
- JS time conversion standard format, timestamp conversion standard format
- Win10 one click Reset win10 to solve all system bugs without deleting any files and Applications
- Matlab calculates the factorial sum of the first n numbers (easy to understand)
猜你喜欢

day02

CCF Z-scan (full mark code + problem solving ideas) 201412-2

JS to realize simple lottery function

1 figure to explain the difference and connection between nodejs and JS

Win10 one click Reset win10 to solve all system bugs without deleting any files and Applications

Not satisfied with markdown native code block style? Try this beautify code screenshot tool~~

PS dynamic drawing
![[matlab] 2D drawing summary](/img/de/6bb5385f440a2997dbf9cbb9a756eb.jpg)
[matlab] 2D drawing summary

CCF drawing (full mark code + problem solving ideas + skill summary) February 2, 2014

CCF sequence segmentation (Full Score code + problem solving idea) 201509 -1
随机推荐
先锋期货安全么?现在期货开户都是哪些流程?期货手续费怎么降低?
立式加工中心的数控加工对刀具使用基本要求
Is it troublesome for CITIC futures to open an account? Is it safe? How much is the handling charge for opening an account for futures? Can you offer a discount
立式加工中心调试的步骤
2021-08-07 native and package types
Experiment 2: stack
LIS error: this configuration section cannot be used in this path
[extensive reading of papers] a delicious recipe analysis framework for exploring multi modal recipes with variable attributes
Lihongyi machine learning 2020 homework summary
Matlab judges the number of same purchases
How to realize selective screen recording for EV screen recording
JS array sorting method summary
Error $(...) size is not a function
catkin_ Make reports an error, transfers the location of the workspace, and uses other people's workspace files to cause compilation errors
1058 a+b in Hogwarts (20 points)
Effect of shadow around the block after mouse over
The kth largest element in the sorted array
JS to realize simple lottery function
Vue returns to the previous page without refreshing the page / Vue caches the page
@PathVariable