![](https://static.youtibao.com/asksite/comm/h5/images/m_q_title.png)
Passerby 1:______. Is there a petrol station? Passerby 2: Turn left at the end of th
Passerby 1:______. Is there a petrol station?
Passerby 2: Turn left at the end of this road. It's on your right hand side.
![](https://static.youtibao.com/asksite/comm/h5/images/solist_ts.png)
Passerby 1:______. Is there a petrol station?
Passerby 2: Turn left at the end of this road. It's on your right hand side.
A.n=10 : s=1 : Do : s=s*i : i=i+1 : Loop While i
B.n=10 : s=1 : i=1 : Do: s=s*i : i=i+1 : Loop While i
C.n=10 : s=1 : i=1 : Do : s=s*i : i=i+1 : Loop while i<=n
D.n=10 : s=1 : i=1 : Do: s=s*i : i=i+1 : loop While i>n
main()
{inta[3]={3*0},i;
for(i=1;i<3;i++)scanf("%d",a[i]);
for(i=1;i<3;i++)a[0]=a[0]+a[i+1];
printf("%d",a[0]);
}
错误:______
改正:______
有以下程序 main() { int a[][3]=({1,2,3},{4,5,0}},(*pa) [3],i; pa=a; for(i=0;i<3;i++) if(i<2) pa[l][i]=pa[1] [i]-1; else pa[1][i]=1; printf("%d\n".a[0][1]+a[1][1]+a[1][2]); } 执行后输出结果是
A.7
B.6
C.8
D.无确定值
A.=0;for(i=1;i<=n:i+十)f*=i
B.=1for(i=1:i<n;i十+)f*=i
C.=l:for(i=n;i>1;i十+)f*=i
D.=1:for(i=n;j>=2;j--)f*=i