测评会员优惠活动进行中 · 开通 VIP,有效期内测评不限次 VIP 优惠中 · 测评不限次 立即查看

A48342. 有如下程序:#include<stdio.h>void main(){ static char s[]="SSSWiL TECH1\11W\1WALLMP1"; int j; char ch; for(j=2;(ch=s[j]!='\0';j++)\ { switch(ch) { case 'A':putchar('a');continue; case '1':break; case 1:whi…

单选题 较难

题目描述

有如下程序:

#include<stdio.h>

void main()

{  static char s[]="SSSWiL TECH1\11W\1WALLMP1";

   int j;

   char ch;

   for(j=2;(ch=s[j]!='\0';j++)\

   { switch(ch)

     {

    case 'A':putchar('a');continue;

case '1':break;

case 1:while(ch=s[++j]!='\n'&&ch!='\0');

case 9:putchar('#');

case 'E':

case 'L':continue;

default:putchar(ch);continue;

}

putchar('*');

}

printf("\n");

}

程序的运行结果是(    )

选项(单选)

上一题 下一题