试题与答案

根据记载,公元前2世纪左右,乌孙、月支等南迁。

题型:判断题

题目:

根据记载,公元前2世纪左右,乌孙、月支等南迁。

答案:

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

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

参考答案:B

试题推荐
题型:改错题
改错题。
(      )1. My father has two brothers, all of them are members of the
                               A                               B       C     D
            English Club.
(      )2. There have no buses, so we had to walk home.
                       A                     B           C       D
(      )3. The farmers are very busy today and they will stop working
                                                                A           B       C
             until dark.
               D
(      )4. I have lost my key; I can't remember where I forgot it.
                    A                                     B         C          D
(      )5. What a terrible weather we have been having!
                 A  B                C                         D
_______
      
      
_______
      
_______
      
      
      
_______
      
_______
查看答案
题型:问答题

请编写函数fun(),该函数的功能是:统计一行字符串中单词的个数,作为函数值返回。一行字符串在主函数中输入,规定所有单词由小写字母组成,单词之间有若干个空格隔开,一行的开始没有空格。
注意:部分源程序给出如下。
请勿改动主函数main和其他函数中的任何内容,仅在函数fun的花括号中填入所编写的若干语句。
试题程序:
#include<string. h>
# include<stdio, h>
#define N 80
int fun (char *s)

main ( )

char line [N];
int num=0;
printf ("Enter a string: \n ");
gets (line);
num=fun (line);
printf ("The number of word is: %d\n\n ",
num);

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