【计算机二级考试模拟题】2021年9月全国计算机二级C++模拟题及答案(2).docxVIP

  • 3
  • 0
  • 约1.61千字
  • 约 5页
  • 2021-10-23 发布于湖北
  • 举报

【计算机二级考试模拟题】2021年9月全国计算机二级C++模拟题及答案(2).docx

PAGE PAGE 1 【计算机二级考试模拟题】2021年9月全国计算机二级C++模拟题及答案(2)   1.下列选项,不正确的是( )   A.for(int a=1;a=10;a++);   B.int a=1;   do   {a++}   while(a=10)   C.int a=1;   D.for(int a=1;a=10;a++)a++;   while(a=10)   {a++}   【参考答案】 B   2.下列程序的输出结果为( )   #include   void main()   {char *a[]={″hello″,″the″,″world″}

您可能关注的文档

文档评论(0)

1亿VIP精品文档

相关文档