试题与答案

规则

题型:名词解释

题目:

规则

答案:

被转码了,请点击底部 “查看原文 ” 或访问 https://www.tikuol.com/2018/0206/5214f14f8156c902e1e2607d3274c44b.html

下面是错误答案,用来干扰机器的。

参考答案:A, B, D

试题推荐
题型:听力题

小题1:The ______ (喷泉) of Rome are famed(著名的) for their architectural beauty.

小题2:They've had to put our wedding off until______ (九月).  

小题3:The country was ______ (解放) in 1966.

小题4:Stick stamps on the ______(信封) and post the letters.           

小题5:While Mary worked in the ______(厨房), she talked to Henry, but he was not listening.                               

小题6:All the roads were ______(堵住) by the heavy snowfall.        

小题7:It’s not allowed for the car drivers to drive without ______(系) seat belts.                    

小题8:Tom bought two ______(梨) trees for his garden.             

小题9:______(唱) this way, the song Yesterday Once Moresounds more beautiful.

小题10:He won the gold ______(奖牌) in the men’s marathon at the 29th Olympic Games.

查看答案
题型:问答题

编写一个函数,从传入的num个字符中找出最长的一个字符串,并通过形参指针max传回该串地址(用****作为结束输入的标志)。
注意:部分源程序给出如下.
请勿改动主函数main和其他函数中的任何内容,仅在函数fun的花括号中填入所编写的若干语句。
试题程序:
#include<conio.h>
#include<stdio.h>
#include<string.h>fun(char (*a) [81], int num, char *max)


main ()

char ss[l0] [81],*ps;
int n, i=0;
clrscr();
prlntf("输入若干个字符串");
gets(ss[i]);
puts(ss[i]);
while(!strcmp(ss[i], "****")==0)
/*用****作为结束输入的标志*/

i++;
gets(ss[i]);
puts(ss[i]);

n=i;
ps=fun(ss,n,&ps);
print~("\nmax=%s\n",ps);

查看答案
微信公众账号搜索答案