
C语言基础知识测验
Authored by zaky zhang
Computers
University
Used 2+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
30 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
在C语言中,哪个关键字用于定义整数变量?
浮点数
字符
整数
双精度
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
以下哪个是有效的整数常量?
123.45
"123"
123
123E2
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
在C语言中,short int类型通常占用多少字节?
1字节
2字节
4字节
8字节
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
哪个关键字用于定义单精度浮点变量?
double
float
int
long
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
以下哪个是有效的实常量?
3.14
3
'3.14'
"3.14"
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
在C语言中,double类型通常占用多少字节?
4字节
8字节
2字节
16字节
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
在C语言中,哪个关键字用于定义字符变量?
字符串
字符
字符型
chr
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?