- 10
- 0
- 约 12页
- 2017-04-26 发布于湖北
- 举报
上海交大c期末试卷教程
A 卷 总 NUMPAGES 12页 第 PAGE 12 页
上 海 交 通 大 学 试 卷( A 卷)
( 2013 至 2014 学年 第2学期 期末考试)
班级号_________________ 学号______________ 姓名
课程名称 C++(A) 成绩
选择填空:(每题1分,共15分)
1. 与class sample {enum {SIZE = 10}; int storage[SIZE];};等价的类定义为 。
A、class sample {const static int SIZE = 10; int storage[SIZE];};
B、class sample {const int SIZE = 10; int storage[SIZE];};
C、class sample { static const int SIZE = 10; int storage[SIZE];};
D、class sample { int SIZE = 10; int storage[SIZE];};
2.对于类中定义的成员,其默认访问权限为_____。
A、
您可能关注的文档
最近下载
- 白桦脂酸的PROTACs化合物及其制备方法和应用.pdf VIP
- 幕墙监理施工培训.pptx VIP
- 学堂在线科学研究方法与论文写作章节测试答案.docx VIP
- T_CEPPC 70—2025 储能用钠离子电池热失控预警及防控技术要求.docx VIP
- 宜宾学院专职辅导员招聘真题2024.docx VIP
- 硅微粉基本知识.docx VIP
- From-head-to-toe-教学课件(修改).pptx VIP
- 产业园区发展“十五五”规划(41页).docx
- 2024-2025学年山东省烟台市蓬莱区(五四制)八年级下学期期末语文试题.doc VIP
- DBJ04-T499-2025 海绵城市河湖水系建设技术标准.pdf VIP
原创力文档

文档评论(0)