下面程序的运行结果是()。 include<iostream.h> int fun(int a[],int n) { int resuh=1

下面程序的运行结果是()。 include<iostream.h> int fun(int a[],int n) { int resuh=1; for(inl i=1;i<11;1‘++) result=result * a[i]; retum result; } void main int a[3]={3,4,5}: cout<<fun(a,3)<<endl: } A.12 B.15 C.20 D.60

时间:2023-10-06 10:48:11

相似题目