填空题

执行下列语句后,输出结果为______。
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<<’#’;

【参考答案】

%#