按体指数对肥胖c语言,新手一个

该楼层疑似违规已被系统折叠 隐藏此楼查看此楼

1. 以下正确的说法是 (2分)

A. 用户若需要调用标准库函数,调用前必须重新定义

B. 用户可以重新定义标准库函数,若如此,该函数将失去原有含义

C. 用户若需调用标准库函数,调用前不必使用预处理命令将该函数所在的头文件包含

D. 系统根本不允许用户重新定义标准库函数" οnlοad="TED.EditorCore.ResizeImage(this);" οnerrοr="Stats.sendRequest('fr=tb0_forum&st_mod=editor&st_type=urlimagefail&st_value=1');this.removeAttribute('onload');this.removeAttribute('onerror');">); background-attachment: initial; background-origin: initial; background-clip: initial; background-color: rgb(224, 237, 255); text-align: center; color: rgb(44, 77, 121); text-decoration: none; margin-top: 10px; margin-right: 5px; margin-left: 5px; position: relative; background-position: 50% 50%; background-repeat: repeat no-repeat; ">提交

2. 对于基类型相同的2个指针变量,不能进行的运算是 (2分)

A. +

B. =

C. <

D. -" οnlοad="TED.EditorCore.ResizeImage(this);" οnerrοr="Stats.sendRequest('fr=tb0_forum&st_mod=editor&st_type=urlimagefail&st_value=1');this.removeAttribute('onload');this.removeAttribute('onerror');">); background-attachment: initial; background-origin: initial; background-clip: initial; background-color: rgb(224, 237, 255); text-align: center; color: rgb(44, 77, 121); text-decoration: none; margin-top: 10px; margin-right: 5px; margin-left: 5px; position: relative; background-position: 50% 50%; background-repeat: repeat no-repeat; ">提交

3. 函数rewind的作用是 (2分)

A. 使位置指针指向文件的末尾

B. 将位置指针指向文件中所要求的特定位置

C. 使位置指针重新返回文件的开头

D. 使位置指针自动移至下一个字符位置" οnlοad="TED.EditorCore.ResizeImage(this);" οnerrοr="Stats.sendRequest('fr=tb0_forum&st_mod=editor&st_type=urlimagefail&st_value=1');this.removeAttribute('onload');this.removeAttribute('onerror');">); background-attachment: initial; background-origin: initial; background-clip: initial; background-color: rgb(224, 237, 255); text-align: center; color: rgb(44, 77, 121); text-decoration: none; margin-top: 10px; margin-right: 5px; margin-left: 5px; position: relative; background-position: 50% 50%; background-repeat: repeat no-repeat; ">提交

4. 有如下程序段 int *p,a=10,b=1;p=&a;a=*p+b;执行该程序段后,a的值为 (2分)

A. 11

B. 编译出错

C. 12

D. 10" οnlοad="TED.EditorCore.ResizeImage(this);" οnerrοr="Stats.sendRequest('fr=tb0_forum&st_mod=editor&st_type=urlimagefail&st_value=1');this.removeAttribute('onload');this.removeAttribute('onerror');">); background-attachment: initial; background-origin: initial; background-clip: initial; background-color: rgb(224, 237, 255); text-align: center; color: rgb(44, 77, 121); text-decoration: none; margin-top: 10px; margin-right: 5px; margin-left: 5px; position: relative; background-position: 50% 50%; background-repeat: repeat no-repeat; ">提交

5. 已有以下数组定义int a[3][4];和f函数调用语句f(a);,则在f函数的说明中,对形参数组array的错误定义方式为 (2分)

A. f(int array[][6])

B. f(int array[2][5])

C. f(int array[][4])

D. f(int array[3][])" οnlοad="TED.EditorCore.ResizeImage(this);" οnerrοr="Stats.sendRequest('fr=tb0_forum&st_mod=editor&st_type=urlimagefail&st_value=1');this.removeAttribute('onload');this.removeAttribute('onerror');">); background-attachment: initial; background-origin: initial; background-clip: initial; background-color: rgb(224, 237, 255); text-align: center; color: rgb(44, 77, 121); text-decoration: none; margin-top: 10px; margin-right: 5px; margin-left: 5px; position: relative; background-position: 50% 50%; background-repeat: repeat no-repeat; ">提交

6. 已经定义以下函数:fun(int *p){return *p;}该函数的返回值是 (2分)

A. 形参p所指存储单元中的值

B. 形参p中存放的值

C. 不确定值

D. 形参p的地址值" οnlοad="TED.EditorCore.ResizeImage(this);" οnerrοr="Stats.sendRequest('fr=tb0_forum&st_mod=editor&st_type=urlimagefail&st_value=1');this.removeAttribute('onload');this.removeAttribute('onerror');">); background-attachment: initial; background-origin: initial; background-clip: initial; background-color: rgb(224, 237, 255); text-align: center; color: rgb(44, 77, 121); text-decoration: none; margin-top: 10px; margin-right: 5px; margin-left: 5px; position: relative; background-position: 50% 50%; background-repeat: repeat no-repeat; ">提交

7. 下面函数的功能是将指针t2所指向的链表,链接到t1所指向的链表的末端。假定t1所指向的链表非空,要实现此功能则应该在connect函数中①的位置添入的语句是 (2分)struct node

{

float x;

struct node *next;

};

connect(struct node *t1, struct node *t2){

if(t1->next==NULL)t1->next=t2;

else connect(①, t2);

}

A. t1.next

B. ++t1->next

C. t1->next

D. ++t1.next" οnlοad="TED.EditorCore.ResizeImage(this);" οnerrοr="Stats.sendRequest('fr=tb0_forum&st_mod=editor&st_type=urlimagefail&st_value=1');this.removeAttribute('onload');this.removeAttribute('onerror');">); background-attachment: initial; background-origin: initial; background-clip: initial; background-color: rgb(224, 237, 255); text-align: center; color: rgb(44, 77, 121); text-decoration: none; margin-top: 10px; margin-right: 5px; margin-left: 5px; position: relative; background-position: 50% 50%; background-repeat: repeat no-repeat; ">提交

8. 以下可作为函数fopen中第一个参数的正确格式是 (2分)

A. D:\user\test.txt

B. D:user\test.txt

C. "D:\\user\\test.txt"

D. "D:\user\test.txt"" οnlοad="TED.EditorCore.ResizeImage(this);" οnerrοr="Stats.sendRequest('fr=tb0_forum&st_mod=editor&st_type=urlimagefail&st_value=1');this.removeAttribute('onload');this.removeAttribute('onerror');">); background-attachment: initial; background-origin: initial; background-clip: initial; background-color: rgb(224, 237, 255); text-align: center; color: rgb(44, 77, 121); text-decoration: none; margin-top: 10px; margin-right: 5px; margin-left: 5px; position: relative; background-position: 50% 50%; background-repeat: repeat no-repeat; ">提交

9. fseek函数的正确调用形式是 (2分)

A. fseek(文件类型指针,位移量,起始点)

B. fseek(起始点,位移量,文件类型指针)

C. fseek(位移量,起始点,文件类型指针)

D. fseek(文件类型指针,起始点,位移量)" οnlοad="TED.EditorCore.ResizeImage(this);" οnerrοr="Stats.sendRequest('fr=tb0_forum&st_mod=editor&st_type=urlimagefail&st_value=1');this.removeAttribute('onload');this.removeAttribute('onerror');">); background-attachment: initial; background-origin: initial; background-clip: initial; background-color: rgb(224, 237, 255); text-align: center; color: rgb(44, 77, 121); text-decoration: none; margin-top: 10px; margin-right: 5px; margin-left: 5px; position: relative; background-position: 50% 50%; background-repeat: repeat no-repeat; ">提交

10. 有以下程序段,程序在执行了c=&b;b=&a;语句后,表达式**c的值是 (2分)void main()

{

int a=5,*b,**c;

c=&b;

b=&a;

}

A. 变量a中的值

B. 变量a的地址

C. 变量b中的值

D. 变量b的地址

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值