以下程序的运行结果是_______。#includestdio.hmain(){int a[]={1 2 3 4 5 6 7 8 9 10 11 12};i
以下程序的运行结果是_______。 #include "stdio.h" main() { int a[]={1,2,3,4,5,6,7,8,9,10,11,12}; int *p=a+5,*q=NULL; *q=*(p+5); printf("%d %d\n",*p,*q); }
A.运行后报错
B.6 6
C.6 12
D.5 5
请帮忙给出正确答案和分析,谢谢!