以下程序的运行结果是()。#includemain(){int a[]={1 2 3 4 5 6 7 8 9 10 11 12}; int *
以下程序的运行结果是()。 #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=8(p+5); printf("%d %d
", *p,*q); }
A.运行后报错
B.6 6
C.6 11
D.5 5
请帮忙给出正确答案和分析,谢谢!