皮皮学,免费搜题
登录
搜题
【单选题】
下面程序的功能是实现字符串逆序存放。程序运行结果如下:Input a string:ABCDEFGHI↙Inversed results:IHGFEDCBA按要求在空白处填写适当的表达式或语句,使程序完整并符合题目要求。#include #include #defineN80voidInverse(char*pStr);intmain(){chara[N];printf("Inputastring:");gets(a);Inverse(a);printf("Inversedresults:%s\n",a);return0;}/*函数功能:实现将字符数组中的字符串逆序存放*/voidInverse(____________){intlen;chartemp;char*pStart;/*指针变量pStart指向字符串的第一个字符*/char*pEnd;/*指针变量pEnd指向字符串的最后一个字符*/len=strlen(pStr);/*求出字符串长度*/for(pStart=pStr,___________;pStart
A.
第16行:   char *pStr 第23行:   pEnd=pStr+len-1 pEnd-- 第26行:   *pStart = *pEnd
B.
第16行:   char pStr 第23行:   pEnd=pStr+len pEnd-- 第26行:   *pStart = *pEnd
C.
第16行:  char *pStr 第23行:  pEnd=pStr+len-1 pEnd++ 第26行:   pStart = pEnd
D.
第16行:  char pStr 第23行:  pEnd=pStr+len+1 pEnd++ 第26行:   *pStart = *pEnd
拍照语音搜题,微信中搜索"皮皮学"使用
参考答案:
参考解析:
知识点:
.
..
皮皮学刷刷变学霸
举一反三
【多选题】黏膜免疫系统主要包括
A.
肠相关淋巴组织
B.
淋巴结
C.
鼻相关淋巴组织
D.
支气管相关淋巴组织
E.
脾脏
【单选题】E Hotlines have become common in China. Some radio broadcasting stations use hotlines to encourage the listeners to take part in the talk shows. That's a good idea. Yet, the fact is, some people do no...
A.
radio stations use hotlines in a wrong way
B.
it is a fact
C.
it is a good idea
D.
some people have unclear thoughts
【简答题】EHotlines have become common in China. Some radio broadcasting stations use hotlines to encourage the listeners to take part in the talk shows. That’s a good idea. Yet, the fact is, some people do not...
【单选题】下列做法中无助于防范法律风险的是
A.
消除对注册会计师独立性存在威胁的因素
B.
在审计过程中保持职业怀疑与应有的谨慎
C.
根据被审计单位的要求签订业务约定书
D.
按照审计准则的要求收集充分适当的审计证据
【单选题】Some new and ______________ stations have first-class seat waiting areas.
A.
big
B.
small
C.
heavy
D.
light
【单选题】Some stations have a ( ), and you may leave your luggage here for some 5 to 10 RMB varying with the deposit time.
A.
shop
B.
waiting hall
C.
luggage office
D.
left luggage office
【简答题】Hotlines have become common in China. Some radio broadcasting stations use hotlines to encourage the listeners to take part in the talk shows. That’s a good idea. Yet, the fact is, some people do noth...
【单选题】Some stations have a( ), and you may leave your luggage for some 5 to 10 RMB varying with the deposit time.
A.
shop
B.
waiting hall
C.
luggage office
D.
left luggage office
【单选题】Some power stations have been modernized to give off less pollution, or they were moved further away from the living areas in order to ______ the damage.
A.
increase
B.
decrease
C.
ease
D.
lower
【简答题】黏膜相关淋巴组织主要包括肠相关淋巴组织, 相关淋巴组织和支气管相关淋巴组织等。
相关题目: