【计算机二级考试模拟题】2021年全国计算机等级考试二级C笔试练习题(7).docxVIP

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

【计算机二级考试模拟题】2021年全国计算机等级考试二级C笔试练习题(7).docx

PAGE PAGE 1 【计算机二级考试模拟题】2021年全国计算机等级考试二级C笔试练习题(7)   1.以下程序运行后,输出结果是()   #include   ss(char *s)   {char *p=s;   while(*p)p++;   return(p-s);   }   main()   {char*a=abded;   inti;   i=ss(a);   printf(%d\n,i);   }   A)8   B)7   C)6   D)5   2.若有如下程序:   int sub()   {static int n=1;   int x=1;   

文档评论(0)

1亿VIP精品文档

相关文档