未分类题
设有定义:
int a=1,b=2,C=3;
以下语句中执行效果与其他三个不同的是( )。
A.if(a>B.C=a,a=b,b=C;
B.if(a>B.{C=a,a=b,b=C;}
C.if(a>B.C=a;a=b;b=c;
D.if(a>B.{C=a;a=b;b=c;}
【参考答案】
C
由于a小于b,所以所有选项中的条件都为假,c选项中实际执行了a=b;b=c;两个操作。而A、B、D选项由于条......
(↓↓↓ 点击下方‘点击查看答案’看完整答案 ↓↓↓)
点击查看答案
<上一题
目录
下一题>
热门
试题
单项选择题
Monica Lewis, CFA, has been hired to review data on a series of forward contracts for a major client. The client has asked for an analysis of a contract with each of the following characteristics:A forward contract on a U.S. Treasury bondA forward rate agreement (FRA)A forward contract on a currencyInformation related to a forward contract on a U.S. Treasury bond: The Treasury bond carries a 6 percent coupon and has a current spot price of $1,071.77 (including accrued interest). A coupon has just been paid and the next coupon is expected in 183 days. The annual risk-free rate is 5 percent. The forward contract will mature in 195 days.Information related to a forward rate agreement: The relevant contract is a 3 x 9 FRA. The current annualized 90-day money market rate is 3.5 percent and the 270-day rate is 4.5 percent. Based on the best available forecast, the 180-day rate at the expiration of the contract is expected to be 4.2 percent.Information related to a forward contract on a currency: The risk-free rate in the U.S. is 5 percent and 4 percent in Switzerland. The current spot exchange rate is $0.8611 per Swiss France (SFr). The forward contract will mature in 200 days.Part 4)Based on the information given, what initial price should Lewis recommend for the 3 x 9 FRA?()
A.4.96%.
B.4.66%.
C.5.96%.
D.5.66%.
点击查看答案&解析
单项选择题
新建商品房销售代理业务基本流程中,( )阶段在后期还要完成商品房交验(俗称“交房”)的工作。 A.项目结算 B.销售执行 C.销售准备 D.项目执行企划
A.项目结算
B.销售执行
C.销售准备
D.项目执行企划
点击查看答案
相关试题
当使用魔棒工具选择图像时,在“容差”数值...
在拼合图层时,会将暂不显示的图层全部删除...
显示与隐藏参考线快捷键是Ctrl+H()
采用该战略有可能面临哪些障碍?如何解决?
From this passage we can learn tha...