![](https://lstatic.shangxueba.com/sxbzda/h5/images/m_q_title.png)
![](https://lstatic.shangxueba.com/sxbzda/pc/images/home_logo.png)
![有以下程序:void f(int b[]){int i;for(i=2;i<6;i++)b[i]*=2;}main(){int a[10]={1,2,3,4,5,6,7,](https://img2.soutiyun.com/shangxueba/askcard/2024-08/8/1451/20240808165828759.jpg)
[单选题]
有以下程序: void f(int b[]) {int i; for(i=2;i<6;i++)b[i]*=2; } main() {int a[10]={1,2,3,4,5,6,7,8,9,10},i; f(A); for(i=0;i<10;i++)printf("%d,",a[i]); } 程序运行后的输出结果是()。
A.1,2,3,4,5,6,7,8,9,10,
B.1,2,6,8,10,12,7,8,9,10
C.1,2,3,4,10,12,14,16,9,10,
D.1,2,6,8,10,12,14,16,9,10,
![](https://lstatic.shangxueba.com/sxbzda/h5/images/tips_org.png)