若有定义:float w;int a,b;则合法的switch语句是

发布于 2021-02-15 01:26:06
【单选题】
A switch(w) {case 1.0: printf( "* "); case 2.0: printf("** "); }
B switch(a) {case 1 printf( "* "); case 2 printf("** "); }
C switch(b) {case 1: printf( "* "); default: printf (" "); case 1+2: printf("** "); }
D switch(a+b); {case 1: printf( "* "); case 2: printf("** "); default: printf (" "); }

查看更多

关注者
0
被浏览
36
  • 体验AI问答!更聪明、超智能!
  • 一款基于GPT的超级AI助手,可以对话、创作、写文案!
1 个回答

撰写答案

请登录后再发布答案,点击登录

发布
问题

手机
浏览

扫码手机浏览

分享
好友

在线
客服