下列关于函数模板的描述中,正确的是()
A.
函数模板是一个实例函数
B.
使用函数模板定义的函数没有返回类型
C.
函数模板的类型参数与函数的参数相同
D.
通过使用不同的类型参数,可以从函数模板得到不同的实例函数
正确答案是D
扫描二维码免费使用微信小程序搜题/刷题/查看解析。
版权声明:本文由翰林刷题小程序授权发布,如需转载请注明出处。
本文链接:https://doc.20230611.cn/post/239585.html
上一篇:Talk to your kids about their eating habits carefullyWeight is never an easy subject. It can be risky for parents to raise the issue of eating habits and weight with their kids.“No kid ever lost weight because his mother told him he was fat,”
下一篇:次の日本語を中国語に訳しなさい。(将下列的日语翻译成汉语。)李さんは毎晩、授業中に先生に教えていただいた単語を覚えます。