单项选择题

有如下说明:
int a[10]=1,2,3,4,5,6,7,8,9,10,*p=a;
则数值为9的表达式是_____。

A.*p+9
B.*(p+8)
C.*p+=9
D.p+8
<上一题 目录 下一题>
热门 试题

单项选择题
下面程序运行后的输出结果是_____。 struct abc int a,b,c; main() struct abc s[2]=1,2,3,4,5,6; int t=s[0].a+s[1].b; printf( %d n ,t);
下面程序运行后的输出结果是_____。
struct abc
int a,b,c;
main()
struct abc s[2]=1,2,3,4,5,6;
int t=s[0].a+s[1].b;
printf("%d\n",t);
单项选择题
有如下程序 int func(int a,int B) return(a+B) ; main() int x=2,y=5,z=8,r; r=func(func(x,y),z); printf( %d n ,r); 该程序的输出结果是_____。
A.12
B.13
C.14
D.15
相关试题
  • 实现程序可将磁盘中的一个文件复制到另一个...
  • 设在主函数中有以下定义和函数调用语句,且...
  • 以下程序的输出结果是 【20】 。 #de...
  • 以下程序的输出结果是 【17】 。 void...
  • 以下函数用来求出两整数之和,并通过形参将...