基本信息
文件名称:2018年C语言二级考试及答案.docx
文件大小:15.22 KB
总页数:12 页
更新时间:2026-03-17
总字数:约5.29千字
文档摘要

2018年C语言二级考试及答案

考试时间:120分钟?总分:100分?年级/班级:高三/计算机科学班

2018年C语言二级考试及答案

一、选择题

1.下列哪个选项不是C语言的关键字?

A.int

B.define

C.float

D.array

2.在C语言中,如何声明一个包含10个整数的数组?

A.intnum[10];

B.intnum(10);

C.intnum{10};

D.intnum=10;

3.下列哪个选项是正确的字符串常量?

A.HelloWorld

B.HelloWorld

C.HelloWorld

D.Hello