程序运行后的输出结果是()。#include<stdio.h>main(){intb[3][3]={0,1,2,0,1,2,0,1,2};inti,j,t=1;for(i=0;i<3;i++)for(j=i;j<=i;j++)t+=b[b[j]];printf("%d\n",t);}


程序运行后的输出结果是()。#include<stdio.h>main(){intb[3][3]={0,1,2,0,1,2,0,1,2};inti,j,t=1;for(i=0;i<3;i++)for(j=i;j<=i;j++)t+=b[b[j]];printf("%d\n",t);}

A.1

B.3

C.4

D.9

正确答案:C


Tag:C语言程序设计基础 程序 时间:2021-11-28 15:13:30