皮皮学,免费搜题
登录
搜题
【单选题】
以下函数scmp的功能是返回形参指针s1和s2所指字符串中较小字符串的首地址。 #include #include char *scmp(char*s1,char*s2) { if (strcmp(s1,s2)<0) return(s1); else return(s2); } main() { int i; charstring[20],str[3][20]; for(i=0;i<3;i++) gets(str[i]); strcpy(string,scmp(str[0],str[1]));/* 库函数strcpy对字符串进行复制*/ strcpy(string,scmp(string,str[2])); printf("%s\n",string); } 若运行时依次输入:abcd、abba和abc三个字符串,则输出结果为______。
A.
abcd
B.
. abba
C.
.abc
D.
.baca
拍照语音搜题,微信中搜索"皮皮学"使用
参考答案:
参考解析:
知识点:
.
..
皮皮学刷刷变学霸
举一反三
【单选题】从30个白球20个黑球共50个球中随机抽取两次皆是黑球的概率是
A.
0.16
B.
0.24
C.
0.36
D.
0.60
【单选题】---I’m sorry. I lost the key. ---______________.
A.
Well, it’s OK
B.
No, it’s all right.
C.
You are welcome.
D.
You are wrong.
【单选题】I’m sorry. I lost the key. _____________
A.
Well,it’s ok.
B.
You are welcome.
【单选题】通常为一般公路所采用的测设程序是:
A.
一阶段测设
B.
二阶段测设
C.
三阶段测设
D.
四阶段测设
【单选题】Speaker a:-I’m sorry. I lost the key to your bike. Speaker b: _______.
A.
No problem
B.
It doesn’t matter
C.
never mind.
【单选题】人类经历的四次信息技术革命依次为:语言的产生及文字的出现、( );广播、电视的发明和普及;计算机的普及应用及其与通信技术的结合。
A.
电话的发明
B.
指南针的发明
C.
造纸术和印刷术的发明
D.
西方的文艺复兴
【单选题】—I’m sorry. I shouldn’t have been rude to you. —You _______ your temper but that’s all right.
A.
have lost
B.
had lost
C.
were losing
D.
did lose
【单选题】--I’m sorry. I lost the key.对不起,我的钥匙丢了。 -- .没关系
A.
Well, it’s OK
B.
No, it’s all right
C.
You are welcome
D.
You are wrong
【单选题】--I’m sorry. I lost the key. 对不起,我的钥匙丢了。 -- .没关系.
A.
Well,that's  OK.
B.
No, it’s all right.
C.
You are welcome.
D.
You are wrong.
【简答题】人类经历的四次信息技术革命依次为:语言的产生及文字的出现、( );广播、电视的发明和普及;计算机的普及应用及其与通信技术的结合
相关题目: