单项选择题

for(int x=0,y=0;!x&&y<=5;y++)语句执行循环的次数是

A.0
B.5
C.6
D.无数次
<上一题 目录 下一题>
热门 试题

单项选择题
设有语句:char str1[]= string ,str2[8],*str3,*str4= string ;,则下列对库函数strcpy调用不正确的是
A.strcpy(str1,"Hello1");
B.strcpy(str2, "Hello2");
C.strcpy(str3, "Hell03");
D.strcpy(str4, "Hell04");
单项选择题
有如下数组声明:int value [30];,下标值引用错误的是
A.value[30]
B.value[0]
C.value[10]
D.value[20]
相关试题
  • 若有以下程序:# include <iostream>u...
  • 有以下程序:#include <iostream>#inc...
  • 有如下程序#include <iostream>using ...
  • 有如下程序:#include <iostream>using...
  • 有如下程序:#include <iostream>using...