[函数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);

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

阅读理解。

     Some people remember things by writing to themselves. Then they leave the notes in obvious places,

such as on the table or on the floor in the middle of the living room. I don't think I like to write notes to

myself. Most of the time I lose them or forget to look at them until it's too late. I prefer to use an alarm

clock to tell me what I should do. I have ten alarm clocks in my house. They could tell me about things.

For example, if I have to make a telephone call at a certain time, I'll set an alarm clock to go off a few

minutes early and put the clock by the telephone. Or if I want to watch a certain television program, I'll

set an alarm clock at the right time and put the clock on top of the TV set. I can remember almost

anything if I use my clocks. However, sometimes an alarm clock goes off and I don't know what it means. I always remember setting it, but not why I Set it. If the clock is by the telephone, I know I may have set

it to tell me to call someone, but I can't be sure. I might have set it to tell myself that somebody was to

call me at a certain time.

1. Some people like to write notes to themselves so that they can                 .

A. leave them in obvious places

B. remember what to do at a certain time

C. watch a certain program

 D. make a phone call at a certain time

2. I don't like to write notes to myself because                 .

A. they are easy to lose or forget to look at

B. I don't know where to put them

C. my handwriting is poor

D. it gives me too much trouble

3. I often use                  to help me remember things.

A. a note book

B. a computer

C. telephone calls

D. alarm clocks

4. Sometimes an alarm clock can't help me because                  .

A. I put the clock in a wrong place

B. the clock goes wrong

C. when the clock goes off, I forget why I set it

D. I'm not sure whom I should call

5. In this passage "go off" means                   .

A. start off

B. get off

C. go away

D. make a sudden noise

题型:填空题

根据所提供的图像,最可能的诊断是()

A.正常

B.胃气肿

C.气肿性胃炎

D.胃癌

E.以上都不是

题型:填空题

()又称利率敏感性缺口管理法,是利率风险管理的重要工具。

A.利率管理

B.久期管理

C.缺口管理

D.资本管理

题型:填空题

()的出现标志着省级卫视的竞争进入战国时代。

A.《非诚勿扰》的播出

B.《快乐大本营》的播出

C.《超级女声》的播出

D.《加油,好男儿》的播出

题型:填空题

当场收缴的罚款,执法人员应当自收缴罚款之日起几日内,交至行政机关()

A、2日

B、3日

C、5日

D、7日

更多题库