试题题干
设 int x=3;,则表达式double pow10(int x)的值为。
参考答案
试题解析
函数double pow10(int x)的返回值是返回10的x次幂的值。因为x=3,所以表达式double pow10(int x)的值为10³,即1000.000000。
设 int x=3;,则表达式double pow10(int x)的值为。
函数double pow10(int x)的返回值是返回10的x次幂的值。因为x=3,所以表达式double pow10(int x)的值为10³,即1000.000000。