A.在任何情況下都存在 B.僅當(dāng)未定義無(wú)參構(gòu)造函數(shù)時(shí)存在 C.僅當(dāng)未定義有參構(gòu)造函數(shù)時(shí)存在 D.僅當(dāng)未定義任何構(gòu)造函數(shù)時(shí)存在
A.assign B.insert C.swap D.find
有以下程序 int fun(int x[],int n) { static int sum=0,i; for(i=0;isum+=x[i]; return sum; } main() { int a[]={1,2,3,4,5},b[]={6,7,8,9,},s=0; s=fun(a,5)+fun(b,4); printf("%d\n",s); } 程序執(zhí)行后的輸出結(jié)果是()
A、45 B、50 C、60 D、55