当前位置:网站首页>What is a data type? What is the use of data types?
What is a data type? What is the use of data types?
2022-07-03 07:49:00 【It's Beichen not too PI acridine】
Basic data type

What is data type
Data types are like a model ,short、int、long、char、float、double These six are molds of different sizes .
What's the use of data types
Take them and click on the memory , Different sizes of memory are allocated , Of course, don't forget to give them a nice name . stay 32 Bit system short The size of the clicked memory is 2 individual byte;int The size of the clicked memory is 4 individual byte;long The size of the clicked memory is 4 individual byte;float The size of the clicked memory is 4 individual byte;double The size of the clicked memory is 8 individual byte;char The size of the clicked memory is 1 individual byte.( Note that this refers to the general situation , Maybe different platforms will be different , The specific platform can use sizeof Keyword test ).
边栏推荐
- Pat class a 1028 list sorting
- Technical dry goods | alphafold/ rosettafold open source reproduction (2) - alphafold process analysis and training Construction
- Technical dry goods | thinking about the unification of dynamic and static diagrams of AI framework
- Go language foundation ------17 ----- channel creation, read-write, security shutdown, multiplexing select
- PAT甲级 1031 Hello World for U
- PDO and SDO concepts
- Robots protocol
- UA camouflage, get and post in requests carry parameters to obtain JSON format content
- Analysis of the problems of the 10th Blue Bridge Cup single chip microcomputer provincial competition
- Technical dry goods | hundred lines of code to write Bert, Shengsi mindspire ability reward
猜你喜欢

Traversal in Lucene

Analysis of the problems of the 10th Blue Bridge Cup single chip microcomputer provincial competition

Go language foundation ----- 16 ----- goroutine, GPM model

Harmonyos third training notes

Go language foundation ----- 04 ----- closure, array slice, map, package

技术干货|利用昇思MindSpore复现ICCV2021 Best Paper Swin Transformer

【MySQL 12】MySQL 8.0.18 重新初始化

Lucene introduces NFA

Project experience sharing: Based on mindspore, the acoustic model is realized by using dfcnn and CTC loss function

Technical dry goods | alphafold/ rosettafold open source reproduction (2) - alphafold process analysis and training Construction
随机推荐
GoLang之结构体
技术干货|昇思MindSpore Lite1.5 特性发布,带来全新端侧AI体验
s7700设备如何清除console密码
Redis batch startup and shutdown script
[at] abc 258G - Triangle 三元组可达-暴力
Redis profile
技术干货|昇思MindSpore算子并行+异构并行,使能32卡训练2420亿参数模型
Technology dry goods | luxe model for the migration of mindspore NLP model -- reading comprehension task
Enter three times and guess a number
UA camouflage, get and post in requests carry parameters to obtain JSON format content
技术干货|AI框架动静态图统一的思考
技术干货|昇思MindSpore NLP模型迁移之Roberta ——情感分析任务
tp3.2和tp5.0的区别
Analysis of the eighth Blue Bridge Cup single chip microcomputer provincial competition
Es writing fragment process
[at] abc 258G - Triangle 三元組可達-暴力
Go language foundation ----- 10 ----- string related operations (operation function, string conversion)
Lucene skip table
PHP common sorting algorithm
The difference between hdmi2.1 and hdmi2.0 and the conversion of PD signals.