[函数2.1说明] 函数int strcmp(char *s,char *t)的功

题型:填空题

问题:

[函数2.1说明]
函数int strcmp(char *s,char *t)的功能是比较两个字符串s和t的大小。若s<t,函数返回负数; 若s=t,函数返回0; 若s>t,函数返回整数。
[函数2.1]
int strcmp(char *s,char *t)
while(*s && *t && (1) )
s++; t++;

return (2) ;

[函数2.2说明]
在n行n列的矩阵中,每行都有最大的数,求这n个最大数中最小的一个。
[函数2.2]
#include <stdio.h>
#define N 100
int a[N] [N];
void main()
int row,col,max,min,n;
scanf("%d",&n);
for(row=0; row<n; row++)
for(col=0; col<n; col++)
scanf("%d",&a[row] [col]);
for (row=0; row<n; row++)
for (max=a[row][0],col=1; col<ri; col++)
if( (3) )max=a [row][col];
if( (4) ) min=max;
else if( (5) ) min=max;


printf("The main of max number is %d\n",min);

考点:计算机软件水平考试初级程序员初级程序员下午试题
题型:填空题

饮酒后驾驶机动车的,处暂扣1个月以上3个月以下机动车驾驶证,并处( )罚款。

A.100元以上200元以下

B.200元以上1000元以下

C.200元以上500元以下

D.20元以上100元以下

题型:填空题

子宫内膜癌诊断最主要、最有力的检查是()。

A. * * B超

B.子宫内膜组织学检查

C.官腔镜检查

D.细胞学检查

E.肿瘤标记物

题型:填空题

各厂要建立煤气中毒事故的抢救和急救体制,配备必要的防护器具和急救器材,如CO监测仪、防毒面具等,平时要经常检查,确保各器具有效,佩戴时,也必须认真检查,尤其注意,在煤气危害区不准摘掉面罩等防毒用品。

题型:填空题

Questions 4—5 are based on the following:
Any person who drops out of high school will be unemployed unless he or she finds a low-paying job or has relatives with good business connections.

Assume that Tom is employed and does not have a lowpaying job. Which one of the following statements, when added to this assumption, contradicts the original statement made in the statement above

A.Tom is a high school dropout.

B.Tom does not have relatives with good business connections.

C.Tom is a high school dropout and does not have any relatives.

D.Tom completed high school and has relatives with good business connections.

E.(E) Tom has relatives with good business connections.

题型:填空题

道德和品德不同。道德是(),品德是()。

更多题库