以下函数 fun 的功能是返回 str 所指字符串中以形参 c 中字符开头的后续字符

题型:填空题

问题:

以下函数 fun 的功能是返回 str 所指字符串中以形参 c 中字符开头的后续字符串的首 地址,例如:str 所指字符串为:Hello!,c 中的字符为 e,则函数返回字符串:ello!的首地址。若 str 所指字符串为空串或不包含 c 中的字符,则函数返回 NULL。请填空。char *fun(char *str, char c){ int n=0;char *p=str;if(p!=NULL)while(p[n]!=c&&p[n]!= ’’\0’’) n++;if(p[n]== ’’\0’’) return NULL;return( _________);}

考点:计算机等级考试C++计算机等级考试二级(C++)41
题型:填空题

下述与周期性瘫痪最无关的情况是().

A.甲状腺功能亢进症

B.原发性醛固酮增多症

C.胸腺肿瘤

D.肌强直

E.高血钠症

题型:填空题

“Well, we’re in our new house. Let’s get a new pet to go along with it,” Mrs. Brown said to her husband.

“That sounds like a very good idea,” he answered. “Do you want to see the ads in the newspaper?”

“Let’s go to the animal shelter. Many pets there need homes. Since tomorrow is Saturday, we can both go.” she said.

The next morning the Browns met Mr. Snow at the animal shelter. “We want to be sure that the pets here go to good homes,” Mr. Snow said, “So I need to ask you some questions.”

After they talked for a while, the Browns decided to get a small dog. It wouldn’t need a big house or a big yard. A small dog would bark and warn them if someone tried to break into their house. After Mr. Snow gave the Browns a book on pet care, they chose one and wanted to take her home right away. But the animal doctor hadn’t examined her yet. So Mr. Snow told them to return on Sunday.

On Sunday afternoon the Browns went to the animal shelter. The animal doctor said, “Shadow has had all of her shots(预防针). She will be healthy.” The Browns thanked the doctor and took Shadow home.

小题1:Which of the following statements is true?

A.The Browns have never had a pet before

B.The Browns knew about Shadow from the newspaper

C.Shadow is a small and healthy dog

D.Mr. Brown didn’t quite agree with his wife小题2:The word “shelter” in the reading means _________.

A.a place to sell small dogs

B.a place to keep homeless animals

C.a place to study animals

D.a place to sell books on pet care小题3:Mr. Snow asked the Browns some questions to _________.

A.see if they had moved to a new house

B.find out how rich the Browns were

C.know where they’d keep their new pet

D.make sure they’d take good care of pets小题4:The Browns think that a small dog _________.

A.doesn’t need any room to keep

B.can help them watch their house

C.eats less food than a bigger one

D.usually has a beautiful name

题型:填空题

A物流公司与B公司初步达成了提供配送服务的意向,每年的合同金额为2000万元。但A物流公司此时所拥有的车辆并不能满足其运输要求,在买不买车辆的问题上,物流公司面临两个选择:(1)立即投资200万元购置车辆,组建自己的车队;(2)暂不买车,租车经营。请用所学知识回答自营车队与租车经营的利弊各在什么地方

题型:填空题

[说明]
A公司是某省的一个大中型企业,其业务需要网络系统来支撑运行。A公司计划建立企业园区网,总体拓扑结构如图6-16所示。在如图6-16所示的拓扑结构中,该企业的6个主要集中接入点(销售部、生产部、设计部、财务处、活动中心、员工宿舍)通过冗余的光纤链路上连至信息中心的核心层交换机上。核心层交换机通过Cisco 3640路由器接入因特网。
该园区网内部分配的VLAN和IP编址方案如表6-10所示。此外,移动办公员工等其他远程用户通过拨号方式接入路由器Cisco 3640来访问该企业网的内网数据资源。远程拨号用户从192.168.200.0/28中动态取得IP地址。


在图6-16所示的拓扑结构中,核心层交换机采用的是3层交换机。交换机Switch1被命名为 CoreSwitch1。为了提高主干道的吞吐量及实现冗余设计,在两台核心层交换机之间采用了多干兆链路捆绑技术。请写出Switch1中实现这一技术要求的相关配置语句。

题型:填空题

YB25型软盒包装机中,为防止模盒输送带运行至两端弧形部分时,模盒发生弯曲变形,同步齿形带主从动轮应()。

A.每隔三个齿削去一齿

B.每隔两个齿削去一齿

C.每隔一个齿削去一齿

D.每隔四个齿削去一齿

更多题库