有如下程序: #include <iostream> using namespace std int main() { char str[100], *p cout<<'Please input a string:' cin>>str p=str for (int i=0 *p!='/0' p++,i++) cout<<i<<endl return 0 }运行这个,若输入字符串为 abcdefgabcd则输出结果是
A.
7
B.
12
C.
13
D.
100
手机使用
分享
复制链接
新浪微博
分享QQ
微信扫一扫
微信内点击右上角“…”即可分享
反馈
参考答案:
举一反三
【单选题】听力原文:M: I don' t remember it being this small. I had the impression that the room was a lot bigger. W: So did I. But it'll be OK once we get the furniture in. Q: How does the woman feel about the room...
【简答题】(fit, sui t, match) These shoes don ’ t _______ . One is large, but the other is small. Each of us can do whatever work that is ________ to his ability. Interviews sometimes can ’ t tell whether the a...