下列程序运行后,如果从键盘上输入ABCDE<回车>,则输出结果为______。 #include<stdio.h> #include<string.h> fuch (char str[] ) { int num=0; while (*(str+num)!='/0')num++; return(num); } main() { char str[10],*p=str; gets(p);printf('%d/n',fuch(p)); }
A.
8
B.
7
C.
6
D.
5
手机使用
分享
复制链接
新浪微博
分享QQ
微信扫一扫
微信内点击右上角“…”即可分享
反馈
参考答案:
举一反三
【单选题】Suppose the price of crude oil is $95 per barrel in New York and $85 per barrel in Texas, and the transaction costs for trading between the two markets are $15 per barrel. What actions should you tak...
A.
Buy oil in Texas and sell oil in NY
B.
Sell oil in Texas and buy oil in NY
C.
Buy oil in both markets and wait for higher prices