下面程序的输出结果是 main() {inta[10]={1,2,3,4,5,6,7,8,9,10},*p=a; printf("%d\n",*(p+2));}A.3B.4C.1D.2
下面程序的输出结果是 main() {inta[10]={1,2,3,4,5,6,7,8,9,10},*p=a; printf("%d\n",*(p+2));}
A.3
B.4
C.1
D.2
相关考题:
以下程序的输出结果是 ( ) main( ) { int a [10] = {1,2,3,4,5,6,7,8,9,10,},*p=a; printf("%d\n",* (p+2)); }A.3B.4C.1D.2
有以下程序:includemain(){int a [10]={1,2,3,4,5,6,7,8,9,10},*p=a[3], *q=p+2; 有以下程序: #include <stdio.h> main() { int a [10]={1,2,3,4,5,6,7,8,9,10},*p=a[3], *q=p+2; prinff("%d\n";*p+*q); } 程序运行后的输出结果是( )。A.16B.10C.8D.6
有以下程序: main() {int a[10]={1,2, 3,4,5,6,7,8,9,10},*p=a[3],*q=p+2; printf("%d\n",*p+*q); } 程序运行后的输出结果是 ______。A.16B.10C.8D.6
有以下程序: main() {int a=[10]{1, 2, 3, 4, 5, 6, 7, 8, 9, 10}, *p=a[3], *q=p+2; printf("% d\n", *p+*q); } 程序运行后的输出结果是______。A.16B.10C.8D.6
有以下程序: main() { int a[10]={1,2,3,4,5,6,7,8,9,10),*p=a[3],*q=p+2; printf("%d\n",*p+*q); } 程序运行后的输出结果是( )。A.16B.10C.8D.6
下面程序的输出结果是 ( ) main( ) { int a[10]={l,2,3,4,6,7,8,9,10},*p=a; printf("%d\n",*(p+2));}A.3B.4C.1D.2