填空题

下面的函数定义是某函数模板能够生成的函数实例
intsquare(int n)(return n*n;)
double square(double n)(retum n*n;)
由此可知,该函数模板的定义是______。

【参考答案】

template(typen)type square(type n){retum n*n;)。
热门 试题