单项选择题

有如下程序:
int a[10]=11, 12, 13, 14, 15, 16, 17, 18, 19, 20;
int*p=&a[3], b; b=p[5];
则b的值是()

A. 15
B. 16
C. 18
D. 19

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

单项选择题
有以下程序: #include<stdio.h> main() int s; scaIlf( %d , &s); while(s>0) switch(s) case 1:printf( %d , s+5); case 2:printf( %d , s+4).break; case 3:printf( %d , s+3); default:printf( %d , s+1)Ibreak; scanf( %d ,&s); 运行时,若输入123450<回车>,则输出结果是()

A. 6566456
B. 66656
C. 66666
D. 6666656

单项选择题
若a是数值类型,则逻辑表达式(a==1)||(a!=1)的值是()

A. 0
B. 1
C. 2
D. 不知道a的值,不能确定

相关试题
  • 有以下程序: main() char ch[]= ...
  • 有以下程序: #include<stdio.h> mai...
  • 变量a中的数据用二进制表示的形式是010...
  • 设有定义: struct complex int real,...
  • 以下程序执行后的输出结果是() fun(int...