有以下程序   main( )   { char k; int I;     for(i=1;i<3;i++)       { scanf(“%c”,&k);         switch(k)         {  case ‘0’: printf(“another/n”);           case ‘1’: printf(“number/n”); } } }   程序运行时,从键盘输入:01<回车>,程序执行后的输出结果是( )。

A:another    number B:another    number    another C:another    number    number D:number    number

有以下程序: main( ) { char k; int i; for(i=1;i<3;i++) { scanf("%c",&k); switch(k) { case '0': printf("another/n"); case '1': printf("number/n"); } } } 程序运行时,从键盘输入01<回车>,程序执行后的输出结果是( )。

A:another number B:another number another C:another number number D:number number

有以下程序   main( )   { char k; int I;     for(i=1;i<3;i++)       { scanf(“%c”,&k);         switch(k)         {  case ‘0’: printf(“another/n”);           case ‘1’: printf(“number/n”); } } }   程序运行时,从键盘输入:01<回车>,程序执行后的输出结果是( )。

A:another    number B:another    number    another C:another    number    number D:number    number

有以下程序: main( ) { char k: int i; for(i=1:i<3;i++) { scanf("%c",&k); switch(k) { case’0’:printf("another/n"); case’1’:printf("number/n"); } } } 程序运行时,从键盘输入:01<回车>,程序执行后的输出结果是 ______。

A:another number B:another number another C:another number number D:number number

有以下程序   main( )   { char k; int I;     for(i=1;i<3;i++)       { scanf(“%c”,&k);         switch(k)         {  case ‘0’: printf(“another/n”);           case ‘1’: printf(“number/n”); } } }   程序运行时,从键盘输入:01<回车>,程序执行后的输出结果是( )。

A:another    number B:another    number    another C:another    number    number D:number    number

有以下程序   main( )   { char k; int I;     for(i=1;i<3;i++)       { scanf(“%c”,&k);         switch(k)         {  case ‘0’: printf(“another/n”);           case ‘1’: printf(“number/n”); } } }   程序运行时,从键盘输入:01<回车>,程序执行后的输出结果是( )。

A:another    number B:another    number    another C:another    number    number D:number    number

微信扫码获取答案解析
下载APP查看答案解析