当前位置:网站首页>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

边栏推荐
- Finding the root of an integer by dichotomy
- CCF numerical sorting (Full Score code + problem solving ideas + skill summary) 201503-2
- Implement a long-click list pop-up box on apiccloud
- How to use Alibaba Vector Icon
- Double pointer circular linked list
- C language \t usage
- I - constructing roads
- Distributed -- openresty+lua+redis
- CCF Z-scan (full mark code + problem solving ideas) 201412-2
- Sorting by character frequency
猜你喜欢

Matlab judge palindrome number (only numbers)

CCF command line options (Full Score code + problem solving ideas + skill summary) March 3, 2014

@PathVariable

Solve the problem that codeblocks20.03 on win11 cannot run for the first time

Database connection to company database denied

Lihongyi machine learning 2020 homework summary

How does hbuilder display in columns?

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

day02

PS tip: the video frame to Layer command cannot be completed because dynamiclink is not available
随机推荐
Add attributes to multimode
1105 spiral matrix (25 points)
C language \t usage
CCF call auction (full mark code + problem solving ideas + skill summary) 201412 - 3
[matlab] 2D drawing summary
DR-TANet: Dynamic Receptive Temporal Attention Network for Street Scene Change Detection
1062 talent and virtue (25 points)
How does hbuilder display in columns?
Experiment 2: stack
1027 colors in Mars (20 points)
Sum of squares of two pointers
Greedy interval problem (5)
Programming of left-hand trapezoidal thread
Basic learning notes of C language
Matlab finds a prime number that is greater than a given integer and follows this integer
Component communication mode
Non decreasing column
Lihongyi machine learning 2020 homework summary
Examples of bubble sorting and matrix element screening in MATLAB
机械工程师面试的几个问题,你能答上来几个?