考试
2020-03-15 09:48:44

1607 有以下程序#include &am

题目描述

有以下程序#include <stdio.h>void fun(int s[]){ static int j=0; do s[j]+=s[j+1]; whil



有以下程序#include <stdio.h>void fun(int s[]){ static int j=0; do s[j]+=s[j+1]; while(j<2);}main(){ int k,a[10]={1,2,3,4,5}; for(k=1;k<3;k++) fun(a); for(k=0;k<5;k++) printf("%d",a[k]);}程序的运行结果是A.34756 B.23445C.35745 D.12345

答案解析

00****24 C在本题中,

加载中...
AI正在思考中,请稍候...