以下程序的执行结果是______.
#include <stdio.h>
void main( )
{ int x=1,y=0;
switch (x)
{undefined
case 1:
switch (y)
{undefined
case 0:printf("first\n");break;
case 1:printf("second\n");break;
}
case 2:printf("third\n");
}
}
A) first B) first
second third
C) first D) second
third
登录后提交答案
暂无评论,来抢沙发