下列程序中需要清理动态分配的数组,划线处应有的语句是______。#include<

题型:填空题

问题:

下列程序中需要清理动态分配的数组,划线处应有的语句是______。
#include<iostream, h>
class person int age, tall;
public:
person() age= 0; tall= 40; cout<<"A baby is born. "<<end1;
person(int i) age=i, tall=40, cout<<"A old person. "<<end1;
person(int i, int i) age = i; tall = j; cout <<" a old person with tall. "<<
end1;
~person( ) cout<<" person dead. "<<end 1;
void show()

cout<<"age= "<<age<<" ,tall= "<<tall<<end1;

;
void main() person * ptr;
ptr = new person[3];
ptr[0]=person ( )
ptr[1]=person(18);
ptr[2]=person(20,120);
for(int i=0;i<3; i++)
ptr[i]. show( );
______

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

下面程序的运行结果是( )。
#include<stdio.h>
#include<string.h>
main()
char*s1="abDuj";
char*s2="ABdUG";
int t;
t=strcmp(s1,s2);
printf("%d",t);

A.正数

B.负数

C.零

D.不确定的值

题型:填空题

先天性睑裂狭小综合征会出现的表现是()

A.上睑下垂

B.逆向内眦赘皮

C.内眦距离过大

D.上睑内翻

E.睑裂缩小

题型:填空题

2008年5月12日14时28分我国四川汶川发生强烈地震,震中汶川成为“孤岛”,救援部队通过空投进行救灾,下列哪项是首要空投的物质(  )

A.衣服

B.铁锹等工具

C.水、食品、药品

D.毛巾、牙刷等日用品

题型:填空题

---What do you think of these two books?

---_________ of them are interesting. And I’ve read them several times.

A.Both 

B.Neither 

C.None 

D.Either

题型:填空题

患者男,40岁,平素嗜好烟酒,近日过服辛辣炙煿之品后,出现喉间呃声洪亮,冲逆而出,口臭烦渴,喜冷饮,大便秘结,小便短赤,舌苔黄,脉滑数。

根据患者上述临床特征,此时患者应诊断为()

A.嗳气

B.干呕

C.呃逆

D.便秘

E.以上都不是

更多题库