当前位置:网站首页>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 ).
边栏推荐
- 技术干货|利用昇思MindSpore复现ICCV2021 Best Paper Swin Transformer
- [at] ABC 258g - Triangle triples reachable - violence
- Partage de l'expérience du projet: mise en œuvre d'un pass optimisé pour la fusion IR de la couche mindstore
- C2-关于VCF文件合并的几种方法
- [at] ABC 258g - triple Reach - violence
- Introduction of novel RNA based cancer therapies
- Redis批量启停脚本
- How to clear the console password for s7700 device
- 【LeetCode】4. Best Time to Buy and Sell Stock·股票买卖最佳时机
- Precautions for opensips and TLS SIP trunk docking
猜你喜欢

PAT甲级 1027 Colors in Mars

Redis batch startup and shutdown script

Pat class a 1032 sharing

OSPF experiment

技术干货|昇思MindSpore NLP模型迁移之Roberta ——情感分析任务

Go language foundation ------17 ----- channel creation, read-write, security shutdown, multiplexing select

Usage of requests module

Project experience sharing: handwritten Chinese character recognition based on Shengsi mindspire

【MySQL 12】MySQL 8.0.18 重新初始化

Technical dry goods | reproduce iccv2021 best paper swing transformer with Shengsi mindspire
随机推荐
【LeetCode】3. Merge Two Sorted Lists·合并两个有序链表
Pat class a 1028 list sorting
Static keyword
Technical dry goods | some thoughts on the future of AI architecture
LwIP learning socket (API)
一篇文章让你读懂-曼彻斯特编码
【MySQL 12】MySQL 8.0.18 重新初始化
Differences between tp3.2 and tp5.0
技术干货|昇思MindSpore NLP模型迁移之Roberta ——情感分析任务
Go language foundation ----- 01 ----- go language features
技术干货|昇思MindSpore Lite1.5 特性发布,带来全新端侧AI体验
C2 several methods of merging VCF files
When did you find out that youth was over
Technical dry goods | alphafold/ rosettafold open source reproduction (2) - alphafold process analysis and training Construction
Go language foundation ----- 19 ----- context usage principle, interface, derived context (the multiplexing of select can be better understood here)
Analysis of the eighth Blue Bridge Cup single chip microcomputer provincial competition
IndexSort
【LeetCode】2. Valid Parentheses·有效的括号
Enter three times and guess a number
Huawei switches are configured with SSH login remote management switches