执行下列语句后,输出结果为______。 int a=0,b=2,c=3; switch(a) { case 0:switch(b) { case 1:cout<<’*’;break;

admin2012-01-20  19

问题 执行下列语句后,输出结果为______。
   int a=0,b=2,c=3;
   switch(a)
   {
   case 0:switch(b)
           {
           case 1:cout<<’*’;break;
           case 2:tout<<’%’;break;
           }
   case 1:switch(C)
           {
           case 1:cout<<’$’;break;
           case 2:cout<<’*’;break;
           default:tout<<’#’;
       }
   }

选项

答案%#

解析
转载请注明原文地址:https://kaotiyun.com/show/AHVp777K
0

最新回复(0)