当前位置:网站首页>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
- 字符占
一个字节,汉字占两个字节
边栏推荐
- 5G工业网关的科技治超应用 超限超重超速非现场联合执法
- Explain IO multiplexing, select, poll, epoll in detail
- 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
- Listen in the network
- Sign APK with command line
- C语言订餐管理系统
- [241. Design priority for operation expression]
- Professor Li Zexiang, Hong Kong University of science and technology: I'm wrong. Why is engineering consciousness more important than the best university?
- Grafana reports an error: error= "failed to send notification to email addresses: [email protected] : 535 Error:
- Applet - multiple text line breaks in view
猜你喜欢

介绍一种对 SAP GUI 里的收藏夹事务码管理工具增强的实现方案

04 redis source code data structure dictionary

MySQL 66 questions, 20000 words + 50 pictures in detail! Necessary for review

一文读懂TDengine的窗口查询功能

1553B environment construction

进入前六!博云在中国云管理软件市场销量排行持续上升

Flow management technology

Cs5268 advantages replace ag9321mcq typec multi in one docking station scheme

Liu Dui (fire line safety) - risk discovery in cloudy environment
![[241. Design priority for operation expression]](/img/72/29d27204d5213a8efdb2c5be925dec.png)
[241. Design priority for operation expression]
随机推荐
Liu Dui (fire line safety) - risk discovery in cloudy environment
Enter the top six! Boyun's sales ranking in China's cloud management software market continues to rise
Apache-Atlas-2.2.0 独立编译部署
Arthas use
Spark source code reading outline
3.4 data query in introduction to database system - select (single table query, connection query, nested query, set query, multi table query)
洞态在某互联⽹⾦融科技企业的最佳落地实践
Jenkins+webhooks- multi branch parametric construction-
Kongsong (Xintong Institute) - cloud security capacity building and trend in the digital era
1. Sum of two numbers: given an integer array num and an integer target value, please find the two integers whose sum is the target value target in the array and return their array subscripts
刘对(火线安全)-多云环境的风险发现
网络中的listen
Listen in the network
当你真的学会DataBinding后,你会发现“这玩意真香”!
Analysis report on the development trend and prospect scale of silicon intermediary industry in the world and China Ⓩ 2022 ~ 2027
研发效能度量框架解读
小程序- view中多个text换行
运行游戏时出现0xc000007b错误的解决方法[通俗易懂]
Introduction to topological sorting
Spark source code (V) how does dagscheduler taskscheduler cooperate with submitting tasks, and what is the corresponding relationship between application, job, stage, taskset, and task?