写出下面程序结果___(1)____,并上机验证。#include"stdio.h"main(){inti,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");}
查看答案
阅读分析下面程序,写出运行结果___(1)______。#includevoidsort(inta[],intn){inti,j,t;for(i=0;i
下面程序的输出结果是___(1)______。#include#includemain(){charx[]="one";x[0]=0;x[1]='\0';x[2]='0';printf("%d%d",sizeof(x),strlen(x));//输出数据用空格隔开}
下面程序的输出结果是 。#include#define N 3void fun(int a[][N], int b[]){ int i, j;for(i=0; i
以下程序的输出结果是()。#include#define S(x) (x)*(x)+1main( ){ int k=5,j=2;printf("%d\n",S(k+j));}