试题9以下程序运行后的输出结果是_____.#include <stdio.h>main(){ int i n[]={0 0 0 0 0
试题,程序
已帮助 人
试题9
以下程序运行后的输出结果是_____.
#include <stdio.h>
main()
{ int i, n[]={0,0,0,0,0};
for(i=1; i<=2; i++)
{ n[i]=n[i-1]*3+1;
printf(“%d”, n[i]);
}
printf(“\n”);
}
