单项选择题

设有定义double a[10],*s=a;,以下能够代表数组元素a[3]的是()

A.)(*s)[3]
B.*(s+3)
C.*s[3]
D.*s+3

<上一题 目录 下一题>
热门 试题

单项选择题
有以下程序 #include main() { int a=2,b=2,c=2; printf( %d n ,a b&c); } 程序运行后的输出结果是()

A.O
B.1
C.2
D.3

单项选择题
有以下定义和语句 struct workers { int num;char name[20];char c; struct {int day; int month; int year;} s; }; struct workers w,*pw; pw=&w; 能给w中year成员赋1980的语句是()

A.*pw.year=198O;
B.w.year=1980;
C.pw->year=1980;
D.w.s.year=1980;

相关试题
  • 以下程序的功能是:借助指针变量找出数组元...
  • 以下程序用以删除字符串所有的空格,请填空...
  • 有以下程序 #include main() { int...
  • 以下程序的功能是:将值为三位正整数的变量...
  • 有以下程序 #include #include void ...