代碼: 以下正確的說法是:()
A.調(diào)用Foo1()會(huì)輸出“thisisinthebase” B.調(diào)用Foo1()會(huì)輸出“thisisinthederived” C.調(diào)用Foo2()會(huì)輸出“thisisinthebase” D.調(diào)用Foo2()會(huì)輸出“thisisinthederived”
A.std::auto_ptr的對象無法放入標(biāo)準(zhǔn)庫的容器 B.一旦進(jìn)行兩個(gè)std::auto_ptr對象之間的拷貝構(gòu)造,被拷貝的對象將失去對所管理內(nèi)存的“所有權(quán)” C.std::auto_ptr可以配合newoperator和deleteoperator工作 D.std::auto_ptr可以配合new[]operator和delete[]operator工作
32位Windows和CPU下面代碼的正確輸出結(jié)果是多少?()
A.1and8 B.8and4 C.1and1 D.8and1