当前位置:网站首页>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
- 字符占
一个字节,汉字占两个字节
边栏推荐
- Use of shutter SQLite
- 【241. 为运算表达式设计优先级】
- Some summary of pyqt5 learning (overview of the general meaning of some signals and methods)
- [Jianzhi offer] 54 The k-th node of binary search tree
- A new book by teacher Zhang Yujin of Tsinghua University: 2D vision system and image technology (five copies will be sent at the end of the article)
- Terminal identification technology and management technology
- 3.4 《数据库系统概论》之数据查询—SELECT(单表查询、连接查询、嵌套查询、集合查询、多表查询)
- 分布式事务简介(seata)
- [sword finger offer] 55 - I. depth of binary tree
- 详细讲解面试的 IO多路复用,select,poll,epoll
猜你喜欢

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

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

9. Use of better scroll and ref

一款Flutter版的记事本

Yan Rong looks at how to formulate a multi cloud strategy in the era of hybrid cloud

Nexus builds NPM dependent private database

5G工业网关的科技治超应用 超限超重超速非现场联合执法

French Data Protection Agency: using Google Analytics or violating gdpr

Chen Yu (Aqua) - Safety - & gt; Cloud Security - & gt; Multicloud security

Explain IO multiplexing, select, poll, epoll in detail
随机推荐
9. Use of better scroll and ref
龙蜥社区开源 coolbpf,BPF 程序开发效率提升百倍
MySQL 66 questions, 20000 words + 50 pictures in detail! Necessary for review
内容审计技术
1.8新特性-List
Leetcode第一题:两数之和(3种语言)
Animesr: learnable degradation operator and new real world animation VSR dataset
2022上半年英特尔有哪些“硬核创新”?看这张图就知道了!
Investment analysis and prospect prediction report of global and Chinese p-nitrotoluene industry Ⓙ 2022 ~ 2027
Several models of IO blocking, non blocking, IO multiplexing, signal driven and asynchronous IO
Camp division of common PLC programming software
介绍一种对 SAP GUI 里的收藏夹事务码管理工具增强的实现方案
【剑指 Offer】55 - II. 平衡二叉树
8 popular recommended style layout
About fossage 2.0 "meta force meta universe system development logic scheme (details)
啟動solr報錯The stack size specified is too small,Specify at least 328k
学会使用LiveData和ViewModel,我相信会让你在写业务时变得轻松
Summary of interview questions (1) HTTPS man in the middle attack, the principle of concurrenthashmap, serialVersionUID constant, redis single thread,
Etcd summary mechanism and usage scenarios
spark源码(五)DAGScheduler TaskScheduler如何配合提交任务,application、job、stage、taskset、task对应关系是什么?