现有如下程序段,此程序段编译有错误,则程序段的错误出在( )#include
int main(){ int a=30,b=40,c=50,d;d=a>30?b:c;switch(d){ case a:printf("%d,",a);case b:printf("%d,",b);case c:printf("%d,",c);default:printf("#");}}
A.
default:printf("#");这个语句
B.
d=a>30?b:c;这个语句
C.
case a:printf("%d,",a); case b:printf("%d,",b); case c:printf("%d,",c);这三个语句
D.
switch(d)这个语句
拍照语音搜题,微信中搜索"皮皮学"使用
参考答案:
参考解析:
知识点:
皮皮学刷刷变学霸
举一反三
【简答题】The difference between Z-spread and nominal spread will most likely be the most significant for a: A. Treasury security with short maturity in a flat yield curve environment B. zero coupon Treasury se...