单项选择题

有如下说明:
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
相关试题
  • 有以下程序: int *f(int *x,int*y...
  • 运行以下程序后,如果从键盘上输入65 1...
  • 有如下程序 main() int x=3; do ...
  • 若变量a、i已正确定义,且i已正确赋值,合...
  • 有如下程序段 int a=14,b=15,x;...