题目内容:
阅读下列程序,将输出结果写到各题右侧的空白处。#include
void main()
{ int a=0,b=2,c=3;
switch (a)
{ case 0:switch (b==2)
{ case l:printf(“*”);break;
case 2: printf (“%”);break;
}
case 1: switch (c)
{ case l:printf(“$”);break;
case 2: printf (“&”);break;
default: printf (“#”);
}
}
printf (“\n”);
}
参考答案: