填空题
下列程序的输出结果是______。
#include<stdio.h>
sb(int s[].int b)
static int n=3;
b=s[n];
n--;
return(b);
main()
int s[]=1,5,6,8);
int i,x=0;
for(i=0;i<4;i++)
x=sb(s,x);
printf(:%d",x);
printf("\n");
【参考答案】
8651
点击查看答案&解析
<上一题
目录
下一题>
热门
试题
填空题
若有说明char s1[]= That girl ,s2[]= is beautiful ;则使用函数strcmp(s1,s2)g,结果是______。
点击查看答案
填空题
若有下列定义:int a[]=1,2,3,4,5,6,7,8,9,10,*p=a;,则值为3的表达式为:______。
点击查看答案&解析
相关试题
在宏定义#define PI 3.14159中,...