有以下程序 # include <stdio.h> main() int a
题型:单项选择题
问题:
有以下程序
# include <stdio.h>
main()
int a[]=1,2,3,4,5,6,7,8,9,10,11,12,,*p=a+5,*q=NULL;
*q=*(p+5);
printf("%d %d \n",*p,*q);
程序运行后的输出结果是
A.运行后报错
B.6 6
C.6 11
D.5 10
有以下程序
# include <stdio.h>
main()
int a[]=1,2,3,4,5,6,7,8,9,10,11,12,,*p=a+5,*q=NULL;
*q=*(p+5);
printf("%d %d \n",*p,*q);
程序运行后的输出结果是
A.运行后报错
B.6 6
C.6 11
D.5 10