网友您好, 请在下方输入框内输入要搜索的题目:
题目内容
(请给出正确答案)
名词解释题
CASE生存期
参考答案
参考解析
解析:
暂无解析
更多 “名词解释题CASE生存期” 相关考题
考题
以下程序的运行结果是 【 9 】 。main( ){ int a=2,b=7,c=5;switch(a0){ case 1:switch(b0){ case 1: printf ("@"); break;case 2: printf("!"); break;}case 0: switch(c==5){ case 0 : printf (" * "); break;case 1 : printf(" # "); break;case 2: printf(" $ "); break;}default : printf("");}printf("\n");}
考题
若有定义 : float x=1.5; int a=1,b=3,c=2; 则正确的 switch 语句是A)switch(x){ case 1.0: printf("*\n");case 2.0: printf("**\n");}B)switch((int)x);{ case 1: printf("*\n");case 2: printf("**\n");}C)switch(a+b){ case 1: printf("*\n");case 2+1: printf("**\n");}D)switch(a+b){ case 1: printf("*\n");case c: printf("**\n");}
考题
( 34 )下列 Case 语句中错误的是A ) Case 0 To 10B ) Case Is 10C ) Case Is 10 And Is50D ) Case 3,5, Is 10
考题
以下Case语句中错误的是()。A.Case 0 To 10B.Case Is>10C.Casels>10 And Is10
以下Case语句中错误的是( )。A.Case 0 To 10B.Case Is>10C.Casels>10 And Is<50D.Case3,5,Is>10
考题
有如下程序: infocase$=InputBox("Inputoneletter:") Select Case infocase$ case"a" grade$="Verygood" case"b" grade$="Good" case"C" grade$="OK" case"d" grade$="Qualified" case Else grade$="Bab" End SelectA.Very goodB.GoodC.BadD.Qualified
考题
下列程序段的执行结果是( )。 a = 1: b = 0 Select Case a Case 1 Select Case b Case 0 Print "**0**" Case 1 Print "**1**" End Select Case 2 Print "**2**" End Select
A. **0**B. **1**C. **2**D. 0
考题
以下程序的运行结果是( )。main()(int a=2,b=7,c=5;switch(a>0){case 1:switch(b<0){case 1:switch(");break;case 2:printf("!");break;}case 0:switch(c==5){case 0:printf("*");break;case 1:printf("");break;case 2:printf("$");break;}default:printf ("&");}printf("\n");}
考题
若a,b,c1,c2,x,y均是整型变量,正确的switch语句是______。A.switch(a+b); {case 1:y=a+b;break; case 0:y=a-b;break; }B.switch(a*a+b*b) {case 3; case 1:y=a+b;break; case 3:y=b-a;break; }C.switch a {case c1:y=a-b;break; case c2;x=a*b;break; default:x=a+b; }D.switch(a-b) {default:y=a*b;break; case 3:case 4:x=a+b;break; case 10:case11:y=a-b;break; }
考题
假设X的值是5,则执行以下语句时,可得到的输出结果是ABCDEF的Select Case语句是 ( )A.Select Case X Case 10 To 1 Print“ABCDEF” End SelectB.Select Case X Case Is>15,Is<5 Print"ABCDEF" End SelectC.Selecl Case K Case Is>5,1,3,To 10 Print"ABCDEF" End SelectD.Select Case X Case 1,3,Is>5 Print"ABCDEF" End Select
考题
下列Case语句中错误的是()。A.Case0 To 10B.Case Is>10C.Case Is>10And Is10
下列Case语句中错误的是( )。A.Case0 To 10B.Case Is>10C.Case Is>10And Is<50D.Case 3,51s>10
考题
下列Case语句中错误的是()。A.Case 0 To 10B.Case Is>10C.Case Is>10 And Is10
下列Case语句中错误的是( )。A.Case 0 To 10B.Case Is>10C.Case Is>10 And Is<50D.Case 3,5 Is>10
考题
下列程序段的执行结果为 m=1 n=1 Select Case m Case 1 Select Case n Case 0 print"A" Case 1 Print"B" End Select Case 2 Print"C" End SelectA.AB.BC.CD.0
考题
下列Case语句中错误的是()。A.Case 0 To 10B.Case Is>10C.Case Is>10 And Is10
下列Case语句中错误的是( )。A.Case 0 To 10B.Case Is>10C.Case Is>10 And Is<50D.Case 3.5,Is>10
考题
以下语句正确的是:______。A.Select Case a Case b=1 Case “B” b=2 Case Else b=3 End SelectB.Select Case a Case “A” b=1 Case “B” b=2 Case Default b=3 End SelectC.Switch a Case “A” b=1 Case “B” b=2 Case Else b=3 End SwitchD.Switch a Case “A” b=1 Case “B” b=2 Case Default b=3 End Select
考题
下面这段代码有错误么?switch (i){case(): 答://case()条件不能为空CaseZero();break;case 1:CaseOne();break;case 2:dufault;
考题
下列程序段的输出结果是【】。int n=c; switch(n++) {default:printf(errorc;switch(n++){default:printf(error);break;case a:case A:case b:case B:printf(good);break;case c:caseC:printf(pass);case d:caseD:printf(warn);}
考题
It is the () on Case assignment that states that a Case assignor and a Case recipient should stay adjacent to each other.A、Case ConditionB、parameterC、Adjacent ConditionD、Adjacent Parameter
考题
Inform the bridge and give the alarm at once ()the fire.A、in caseB、case ofC、in case ofD、in the case of
考题
单选题64. A in this case B in any case C in no case D in some casesA
AB
BC
CD
D
热门标签
最新试卷