题目内容

有以下程序: #include <iostream> #include <string> using nameSpace std; class person int age; Char * name; public: person ( int i, Char * str ) int j; j = strlen( str ) + 1; name = new char[ j ]; strcpy( name, str ); age = i; ~person() delete name; cout<<"D"; void display() cout<<name<<":"<<age; ; int main() person demo( 30,"Smith" ); demo.display(); return 0; 则该程序的输出结果为: 【13】 。

查看答案
更多问题

What is the purpose of the talk

A. To review what students know about volcanic activity.
B. To demonstrate the use of a new measurement device.
C. To explain the answer to an examination question.
D. To provide background for the next reading assignment.

INSURANCE POLICYThe insurer (保险公司): (46) The insured: (47) The object (投保对象) of the insurance policy: (48) of color television setThe insurance premium: (49) Classes and kinds of insurance: against (50) . 46()

Why did the woman have to stop playing in the volleyball game

A. She had to go home.
B. She was too tired to continue.
C. She had to finish her schoolwork.
D. She was thirsty.

The girl worked so hard that (eventual) ______ she made herself seriously ill.

答案查题题库