铁水预处理区域高炉铁水罐倾翻液压站、扒渣机、铁水包倾翻车所用液压介质为()。
A.机油
B.35#机油
C.水乙二醇
D.矿物油
参考答案:D
造成北太平洋中高纬度海域冬季大风浪的原因是()。
A.阿留申低压和副高强盛
B.蒙古高压和阿留申低压强盛
C.阿留申低压强盛、波流效应、大的海气温差
D.阿留申低压强盛、冷暖流交汇
下列给定程序中,函数fun的功能是:在形参ss所指字符串数组中查找与形参t所指字符串相同的串,找到后返回该串在字符串数组中的位置(即下标值),若未找到则返回-1。ss所指字符串数组中共有N个内容不同的字符串,且串长小于M。 请在下划线处填入正确的内容并将下划线删除,使程序得出正确的结果。 注意:部分源程序给出如下。 不得增行或删行,也不得更改程序的结构! 试题程序: #include <stdio.h> #include <string.h> #define N 5 #define M 8 int fun(char (*ss)[M], char *t) int i; /******************found*******************/ for(i=0; i< (1) ; i++) /******************found*******************/ if(strcmp(ss[i], t)==0) return (2) ; return(-1); main()char ch[N][M]("if", "while", "switch", "int", "for", t[M]; int n, i; printf("\nThe original string\n\n"); for(i=0; i<N; i++)puts(ch[i]); printf("\n"); printf("\nEnter a string for search:"); gets(t); n=fun(ch, t); /******************found*******************/ if(n== (3) ) printf("\nDon’t found!\n"); else printf("\nThe position is %d.\n", n);