下面程序的输出结果是( )。 #include <stdio.h> main
问题:
下面程序的输出结果是( )。 #include <stdio.h> main() { int a[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
下面程序的输出结果是( )。 #include <stdio.h> main() { int a[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