当前位置:网站首页>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 ).
边栏推荐
- [MySQL 14] use dbeaver tool to remotely backup and restore MySQL database (Linux Environment)
- Technical dry goods | thinking about the unification of dynamic and static diagrams of AI framework
- Segment read
- s7700设备如何清除console密码
- 技术干货|昇思MindSpore创新模型EPP-MVSNet-高精高效的三维重建
- lucene scorer
- [mindspire paper presentation] summary of training skills in AAAI long tail problem
- Go language foundation ----- 15 ----- reflection
- Huawei switch console password reset, device initialization, default password
- 【LeetCode】3. Merge two sorted lists · merge two ordered linked lists
猜你喜欢
OSPF experiment
Analysis of the problems of the 7th Blue Bridge Cup single chip microcomputer provincial competition
Pat class a 1028 list sorting
技术干货 | AlphaFold/ RoseTTAFold开源复现(2)—AlphaFold流程分析和训练构建
Pat grade a 1027 colors in Mars
Partage de l'expérience du projet: mise en œuvre d'un pass optimisé pour la fusion IR de la couche mindstore
【LeetCode】2. Valid Parentheses·有效的括号
Pat class a 1031 Hello world for u
技术干货|昇思MindSpore Lite1.5 特性发布,带来全新端侧AI体验
技术干货|昇思MindSpore可变序列长度的动态Transformer已发布!
随机推荐
截图工具Snipaste
【MySQL 13】安装MySQL后第一次修改密码,可以可跳过MySQL密码验证进行登录
Implementation of breadth first in aggregation in ES
IndexSort
Pat grade a 1029 median
yarn link 是如何帮助开发者对 NPM 包进行 debug 的?
技术干货|昇思MindSpore创新模型EPP-MVSNet-高精高效的三维重建
[MySQL 11] how to solve the case sensitive problem of MySQL 8.0.18
PAT甲级 1027 Colors in Mars
华为交换机基础配置(telnet/ssh登录)
Go language foundation ------ 14 ------ gotest
【LeetCode】3. Merge two sorted lists · merge two ordered linked lists
Usage of requests module
Application of pigeon nest principle in Lucene minshouldmatchsumscorer
【MySQL 11】怎么解决MySQL 8.0.18 大小写敏感问题
Analysis of the problems of the 11th Blue Bridge Cup single chip microcomputer provincial competition
Technical dry goods | hundred lines of code to write Bert, Shengsi mindspire ability reward
输入三次猜一个数字
Harmonyos third training notes
PHP常用排序算法