- 1
- 0
- 约3.75千字
- 约 7页
- 2026-05-26 发布于广东
- 举报
2026年3月青少年软件编程C++等级考试四级真题(含答案-在末尾)
一、单选题(共10题,共20分)。
1.已知intx=10;要让指针p指向x,以下写法正确的?()。
A.intp=x;
B.int*p=x;
C.int*p=x;
D.*p=x;
2.执行以下代码,输出结果?()。
inta=20;
int*p=a;
*p=30;
couta;
A.20
B.30
C.0
D.随机值
3.以下关于C++结构体的说法,错误的?()。
A.结构体可以包含多个不同类型的成员
您可能关注的文档
- 2026年3月青少年软件编程C++等级考试二级真题(含答案和解析-在末尾).docx
- 2026年3月青少年软件编程C++等级考试二级真题(含答案-在末尾).docx
- 2026年3月青少年软件编程C++等级考试六级真题(含答案-在末尾).docx
- 2026年3月青少年软件编程C++等级考试三级真题(含答案-在末尾).docx
- 2026年3月青少年软件编程C++等级考试五级真题(含答案-在末尾).docx
- 2026年3月青少年软件编程C++等级考试一级真题(含答案和解析-在末尾).docx
- 2026年3月青少年软件编程C++等级考试一级真题(含答案-在末尾).docx
- 2026年3月青少年软件编程C++等级考试二级真题(含答案).docx
- 2026年3月青少年软件编程C++等级考试二级真题(含答案和解析).docx
- 2026年3月青少年软件编程C++等级考试六级真题(含答案).docx
- 2026年3月青少年软件编程C++等级考试三级真题(含答案).docx
- 2026年3月青少年软件编程C++等级考试四级真题(含答案).docx
- 2026年3月青少年软件编程C++等级考试五级真题(含答案).docx
- 2026年3月青少年软件编程C++等级考试一级真题(含答案).docx
原创力文档

文档评论(0)