单选题
声明函数模板的关键字是( )
A、
inline
B、
template
C、
const
D、
short
【正确答案】
B
【答案解析】
[解析] C++规定函数模板以template关键字和一个形参表开头。
提交答案
关闭