当前位置:网站首页>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
- 字符占
一个字节,汉字占两个字节
边栏推荐
- [anwangbei 2021] Rev WP
- Cs5268 advantages replace ag9321mcq typec multi in one docking station scheme
- Introduction to topological sorting
- Shangtang technology crash: a script written at the time of IPO
- 【剑指Offer】54. 二叉搜索树的第k大节点
- Fiori 应用通过 Adaptation Project 的增强方式分享
- Report on the 14th five year plan and future development trend of China's integrated circuit packaging industry Ⓓ 2022 ~ 2028
- Yarn重启applications记录恢复
- 一文读懂TDengine的窗口查询功能
- 用命令行 给 apk 签名
猜你喜欢

MySQL六十六问,两万字+五十图详解!复习必备

面试题目总结(1) https中间人攻击,ConcurrentHashMap的原理 ,serialVersionUID常量,redis单线程,

Build a vc2010 development environment and create a tutorial of "realizing Tetris game in C language"

Animesr: learnable degradation operator and new real world animation VSR dataset

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

Summary of interview questions (1) HTTPS man in the middle attack, the principle of concurrenthashmap, serialVersionUID constant, redis single thread,

Jenkins+webhooks- multi branch parametric construction-

5. Use of ly tab plug-in of header component

学会使用LiveData和ViewModel,我相信会让你在写业务时变得轻松

焱融看 | 混合云时代下,如何制定多云策略
随机推荐
[machine learning] VAE variational self encoder learning notes
SAP 智能机器人流程自动化(iRPA)解决方案分享
Shangtang technology crash: a script written at the time of IPO
Flow management technology
10. Page layout, guess you like it
微机原理与接口技术知识点整理复习–纯手打
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
Analysis report on production and marketing demand and investment forecast of global and Chinese diamond powder industry Ⓤ 2022 ~ 2027
Spark source code reading outline
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?
The stack size specified is too small, specify at least 328k
终端识别技术和管理技术
Dragon lizard community open source coolbpf, BPF program development efficiency increased 100 times
What is the future development direction of people with ordinary education, appearance and family background? The career planning after 00 has been made clear
Flutter SQLite使用
北斗通信模块 北斗gps模块 北斗通信终端DTU
MySQL 66 questions, 20000 words + 50 pictures in detail! Necessary for review
A Fletter version of Notepad
[Jianzhi offer] 54 The k-th node of binary search tree
研发效能度量框架解读