当前位置:网站首页>C语言基础知识
C语言基础知识
2022-07-01 13:35:00 【Java学不会】
1、进位计数制
- 十进制(Decimal):由0~9十个数字组成,缝十进一。
- 二进制(Binary): 由0、1两个数字组成,缝二进一。
- 八进制(Octal): 由0~7八个数字组成,缝八进一。
- 十六进制(Hexadecimal): 由0~9十个数字和A、B、C、D、E、F(或者小写字母)六个字母组成,缝十六进一。
2、进制的脚标
- 二进制:
B - 八进制:
Q - 十进制:
D(如果没有脚标默认是十进制) - 十六进制: H
3、字符在计算机内部的表示
字符在计算机内部以ASCII进行表示。- ASCII码: 美国信息交换码,采用
低7位二进制编码(0000000B ~ 1111111B),ASCII码的范围是0 ~ 127,共128个。 - 大写字母: A ~ Z(65 ~ 90)
- 小写字母: a ~ z (97 ~ 122)
- 数字: 0 ~ 9 (48 ~ 57)
- 空格(space):32
- 字符占
一个字节,汉字占两个字节
边栏推荐
- 面试题目总结(1) https中间人攻击,ConcurrentHashMap的原理 ,serialVersionUID常量,redis单线程,
- Camp division of common PLC programming software
- 刘对(火线安全)-多云环境的风险发现
- [machine learning] VAE variational self encoder learning notes
- 受益互联网出海 汇量科技业绩重回高增长
- Some summary of pyqt5 learning (overview of the general meaning of some signals and methods)
- B站被骂上了热搜。。
- Kongsong (Xintong Institute) - cloud security capacity building and trend in the digital era
- Summary of 20 practical typescript single line codes
- 学历、长相、家境普通的人,未来的发展方向是什么?00后的职业规划都已经整得明明白白......
猜你喜欢

AnimeSR:可学习的降质算子与新的真实世界动漫VSR数据集

当你真的学会DataBinding后,你会发现“这玩意真香”!

minimum spanning tree

spark源码(五)DAGScheduler TaskScheduler如何配合提交任务,application、job、stage、taskset、task对应关系是什么?

研发效能度量框架解读

【241. 为运算表达式设计优先级】

Self cultivation of open source programmers who contributed tens of millions of lines of code to shardingsphere and later became CEO

French Data Protection Agency: using Google Analytics or violating gdpr

啟動solr報錯The stack size specified is too small,Specify at least 328k

陈宇(Aqua)-安全->云安全->多云安全
随机推荐
Leetcode question 1: sum of two numbers (3 languages)
研发效能度量框架解读
Blind box NFT digital collection platform system development (build source code)
JVM有哪些类加载机制?
What is the future development direction of people with ordinary education, appearance and family background? The career planning after 00 has been made clear
Simplex, half duplex, full duplex, TDD and FDD
2.15 summary
C语言订餐管理系统
运行游戏时出现0xc000007b错误的解决方法[通俗易懂]
小程序- view中多个text换行
2022 · 让我带你Jetpack架构组件从入门到精通 — Lifecycle
Global and Chinese n-butanol acetic acid market development trend and prospect forecast report Ⓧ 2022 ~ 2028
[anwangbei 2021] Rev WP
面试题目总结(1) https中间人攻击,ConcurrentHashMap的原理 ,serialVersionUID常量,redis单线程,
孔松(信通院)-数字化时代云安全能力建设及趋势
当你真的学会DataBinding后,你会发现“这玩意真香”!
The best landing practice of cave state in an Internet ⽹⾦ financial technology enterprise
介绍一种对 SAP GUI 里的收藏夹事务码管理工具增强的实现方案
1553B environment construction
In the next stage of digital transformation, digital twin manufacturer Youyi technology announced that it had completed a financing of more than 300 million yuan