單項(xiàng)選擇題內(nèi)聯(lián)函數(shù)的正確定義是()
A.inline int small();int small(){/*……*/}
B.int small();inline int small(){/*……*/}
C.int inline small();int small(){/*……*/}
D.int small();int inline small(){/*……*/}
您可能感興趣的試卷
你可能感興趣的試題
1.單項(xiàng)選擇題指定內(nèi)聯(lián)函數(shù)的關(guān)鍵字是()
A.include
B.inline
C.namespace
D.typedef
2.單項(xiàng)選擇題有聲明int fun14(int);int(?pf)(int)=fun14;在下列選項(xiàng)中,正確的調(diào)用是()
A.int a=15;int n=fun14(&a);
B.int a=15;cout<<(&pf)(a);
C.cout<<(?pf)(256);
D.cout<<?pf(256);

最新試題
string類中為字符串對(duì)象提供了一些成員函數(shù),調(diào)用這些成員函數(shù)的方法為()。
題型:填空題
程序中使用指針時(shí),涉及的量有兩個(gè):一個(gè)是指針本身;另一個(gè)是()。
題型:填空題
在程序中使用函數(shù)可以是提高程序的開發(fā)效率和()。
題型:填空題
在面向?qū)ο蟪绦蛟O(shè)計(jì)中,將一組數(shù)據(jù)和這組數(shù)據(jù)有關(guān)的操作集合組裝在一起形成對(duì)象,這個(gè)過程叫()。
題型:填空題
標(biāo)識(shí)符的()是指在程序的哪個(gè)區(qū)域里可以使用。
題型:填空題