A.objX.a=0;
B.objX.fun1();
C.objX.fun2();
D.X::fun1();
您可能感興趣的試卷
你可能感興趣的試題
A.class a{int x=0;int y=1;}
B.class b{int x=0;int y=1;};
C.class c{intx;int y;}
D.class d{intx;int y;};
A.p=head->next;head->next=head->next->next;delete p;
B.head->next=head->next->next;p=head->next;delete p;
C.p=head;head=head->next;delete p;
D.head=head->next;p=head;delete p;
A.q=p;delete p;
B.p=q;delete q;
C.q->next=p->next;delete p;
D.p->next=q->next;delete q;
A.s->next=head;head=s;
B.s->next=head->next;head->next=s;
C.head=s;s->next=head;
D.head->next=s;s->next=head->next;
A.q=s->next;s=p->next;
B.q->next=s;s->next=p;
C.s=p->next;q=s->next;
D.s->next=p;q->next=s;
最新試題
在C++程序中由new分配的動態(tài)內(nèi)存空間必須通過()運算符釋放。
static_cast的功能是將一種數(shù)據(jù)類型轉(zhuǎn)換成另一種數(shù)據(jù)類型,其使用格式為()。
如果在定義引用時,在定義的前面加上了()關(guān)鍵字,則表明該引用是常引用。
指針變量中保存著一個()。
命名空間是C++的一種機制,使用關(guān)鍵字()把大量有邏輯聯(lián)系的程序?qū)嶓w組合在一個標識符下。
程序設(shè)計語言可以分為三種:低級語言、中級語言和高級語言,C++語言屬于()。
()可以看作是符號化了的機器語言,使用助記符編寫程序。
如果把const限定符放在*號的右邊,使指針本身成為一個const指針,即()。
對于只存儲一個基本類型數(shù)據(jù)的指針,使用new為其動態(tài)分配的語法格式為()。
()是所有C++程序開始執(zhí)行的入口。