Files

28 lines
445 B
Markdown
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
### 参考答案
#### **一、 填空题**
1. `char`
2. 单引号
3. `66`
4. `32`
5. `5`
6. `'+'`
#### **二、 单项选择题**
1. C
2. C
3. B (字符'C'的ASCII码是67,加1后是68,68对应的字符是'D')
4. B
5. B
6. A
#### **三、 判断题**
1. × (一个是字符,一个是数字,它们的ASCII码和数值都不同)
2. √
3. √
4. × (从'A'到'Z',ASCII码是递增的)
5. √
6. × (`char` 只能存放单个字符)