职教组卷基于海量职教高考试题库建立的在线组卷及学习系统
职教组卷
  • 题型:简答题 题类:单元测试 难易度:中档

    阅读下列程序,写出程序输出结果:
    # include
    main( )
    {int a=0,b=2,c=3 ;
    switch(a)
    {case0 : switch( b==2)
    {case1 : printf(" &") ; break ;
    case2 : printf( " % "); break;}
    ease1 : switch(c)
    {ease1 : print((" $ ");
    case2 :printf(" * ") ;break;
    default : printf(" # ") }
    }
    }
    程序输出结果为:
  • 相关试卷