皮皮学,免费搜题
登录
logo - 刷刷题
搜题
【单选题】
以下函数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
手机使用
分享
复制链接
新浪微博
分享QQ
微信扫一扫
微信内点击右上角“…”即可分享
反馈
参考答案:
举一反三
【单选题】Referring to Figure 1, minimum how many address lines are needed to access program/code ROM for ATmega16?
A.
16
B.
15
C.
14
D.
13
【单选题】Is she reading a book?
A.
Yes, she is.
B.
No, she isn’t.
C.
Yes, she is not.
【简答题】观看 第6章_快速生成树配置微课, 请根据实训视频完成对应实训操作。然后将 PT 文件上传。
【多选题】毛泽东思想的活的灵魂,它们有三个基本方面,即 。
A.
实事求是
B.
群众路线
C.
与时俱进
D.
独立自主
【简答题】观看 PPP协议基本原理及配置操作手册, 请根据实训视频完成对应实训操作。然后将 PT 文件上传。
【单选题】适用于公路、铁路路基等狭长带形状的场地平整的方法是
A.
方格网法
B.
等高线法
C.
断面法
D.
图解法
【判断题】轨道交通发生险情和事故后,要按照“四不放过”原则,进行及时找出事故原因、分析总结,整改隐患、完善规章制度,防止同类事故发生。
A.
正确
B.
错误
【简答题】A.She left the lecture for a few minutes. B.She was reading during the lecture. C.She may have fallen asleep. D.She misunderstood the speaker's last points.
【简答题】观看 第4章_交换机划分Vlan配置微课, 请根据实训视频完成对应实训操作。然后将 PT 文件上传。
【简答题】听对话,选择正确答语。 1. What is Sue doing? A. She is reading a book. B. She is doing her homework. C. She is cleaning the room. 2. How much is a hamburger? A. It's six dollars and twenty cents. B. It's three d...
相关题目:
参考解析:
知识点:
题目纠错 0
发布
创建自己的小题库 - 刷刷题