试题题干
设 int a=2;,则表达式double pow 10(int a)的值为()
参考答案
正确答案:
试题解析
double pow 10(int x)是计算10的x次幂函数,因为int a=2,所以表达式double pow 10(int a)的值为10²=100。
设 int a=2;,则表达式double pow 10(int a)的值为()
double pow 10(int x)是计算10的x次幂函数,因为int a=2,所以表达式double pow 10(int a)的值为10²=100。