设有说明语句"int a =1,b=0;"则执行以下语句后,输出为(). switch(a) { case 1: switch(b) { case 0:printf(" * * 0 * * " );break; case 1:printf(" * * 1 * * " );break; } case 2:printf(" * * 2 * * " );break; }A.* * 0 * *B.* * 0 * * * * 2 * *C.* * 0 * * * * 1 * * * * 2 * *D.有语法错误
设有说明语句"int a =1,b=0;"则执行以下语句后,输出为(). switch(a) { case 1: switch(b) { case 0:printf(" * * 0 * * " );break; case 1:printf(" * * 1 * * " );break; } case 2:printf(" * * 2 * * " );break; }
A、* * 0 * *
B、* * 0 * * * * 2 * *
C、* * 0 * * * * 1 * * * * 2 * *
D、有语法错误
发布时间:2024-04-26 08:53:35