問題詳情
35)有以下函数int aaa(char *s){ char *t=s;while(*t++);t--;return(t-s);}以下关于aaa函数的功能的叙述正确的是
(A)求字符串s的长度
(B)比较两个串的大小
(C)将串s复制到串t
(D)求字符串s所占字节数
(A)求字符串s的长度
(B)比较两个串的大小
(C)将串s复制到串t
(D)求字符串s所占字节数
參考答案
答案:A
難度:適中0.5
統計:A(0),B(0),C(0),D(0),E(0)
內容推薦
- As is know to all, People’s Republic of China is Biggest developing countryin the world(A)the ;不填
- 40)假定当前盘符下有两个如下文本文件:文件名 atxt atxt内容 123# 321#则下面程序段执行后的结果为#include "stdio.h"void
- 4)下面关于对象概念的描述中,错误的是(A)对象就是C语言中的结构体变量 (B)对象代表着正在创建的系统中的一个实体(C)对象是一个状态和操作(或方法)的封装体 (D)对象之间的信息传递是通
- 30)下面程序的输出结果是#includemain(){ int a[]={1,2,3,4,5,6,7,8,9,0},*p;p=a;printf("%dn",*p+9);
- (A) What are you up to this weeked?(B)Don’t mention it.(C)Any other suggestions? (D)Anything I can d
- His first novel good reviews since it came out last month.(A)receives (B)is receviing (C)will rec
- 39)下列程序的输出结果是#include "stdio.h"#define M(x,y) x%ymain(){ int a,m=12,n=100;a=M(n,m);pr
- It is not how much we do but how much love we put into what we do______benefits our work most.(A)
- 29)以下叙述中错误的是(A)改变函数形参的值,不会改变对应实参的值 (B)函数可以返回地址值(C)可以给指针变量赋一个整数作为地址值 (D)当在程序的开头包含头文件stdio.h时,可以给
- north(A)thunder (B)worthy (C)neither (D)clothes
內容推薦
- —Will you read me a story ,Mummy?--OK.You________have one if you go to bed as soon as possible.(A
- __________________all of them are strong candidates, only one will be chosen for the post.(A)Sinc
- 37)下列选项中错误的说明语句是(A)char a[]={′t′,′o′,′y′,′o′,′u′,′′}; (B)char a[]={"toyou"};(C)char a
- 1)一、选择题在下列各题的A)、B)、C)、D)四个选项中,只有一个选项是正确的,请将正确的选项涂写在答题卡相应位置上,答在试卷上不得分。算法的空间复杂度是指(A)算法程序的长度 (B)算法
- Some insects________the colour of their surroundings to protect themselves.(A)take in (B)take off
- Claire had luggage an hour befor her plane left.(A)check (B)checking (C)to check (D)checked
- 32)若有定义: char *st= "how are you "; ,下列程序段中正确的是(A)char a[11], *p; strcpy(p=a+1,&st[4])
- 7 If it’s fine, we’ll go camping. Would you like to join us?Cathy: I’d like to, but the deadline
- 第四节 完形填空(共20小题:每小题5分,满分30分)阅读下面短文,从短文后各题的ABCD四个选项中,选出合适填入对应空白处的最佳选项,并在答题卡上将该选项涂黑。In a land far awa
- 38)以下程序的输出结果是int f(){ static int i=0;int s=1;s+=i; i++;return s; }main(){ int i,a=0;for(i=0;i&l
- 33)有以下程序#include int fun(char s[]){ int n=0;while(*s=′0′) {n=10*n+*s-′0′;s++;}return(n);}main()
- 8Cathy: Yes, please. Can you suggest any good reference books?Tom : You may want to read Origins
- More highways have been built in China,___________it much easier for people to trave form one pla
- I’d like to start my own business –that’s I’d do if I had the money.(A)why (B)when (C)which (D)wh
- custom(A)measure (B)upstairs (C)respect (D)sugar
- 9Tom : Go to the Science Museum website, and you’ll find lots of up-to-date information.Cathy: G
- —We can give you a ride into town.--_________Thank you.(A)Yes,why not? (B)Oh,it would be my pleas
- -Would you get me a bar of chocolate from the kitchen,dear?- one?(A)Other (B)Every (C)Another (D)
- (A)standing (B)travelling (C)gathering (D)running
- The new stadium being built for the next Asian Games will be the present one。(A)as three times bi
- I__________through that bitter period without your generous help.(A)couldn’t have gone (B)didn’t
- (A)faraway (B)poor (C)different (D)ancient
- (A)unless (B)because (C)so (D)if
- 無一定雇主之按摩業者, 要參加勞工保險時, 可由那個單位代為申請 (1) 行政院勞工委員會 (2)內政部 (3) 按摩中心 (4) 按摩業職業工會。(A)4(B)3(C)1(D)2
- (A)them (B)anything (C)nothing (D)those