以下程序的运行结果是()
#include
main()
{inta[]={1,2,3,4,5,6,7,8,9,10,11,12};
int*p=a+5,*q=NULL;
*q=*(P+5);
prinff("%d%d\n",*p,*q);
}
A.运行后报错 B.66 C.611 D.55正确答案A
以下程序的运行结果是()
#include
main()
{inta[]={1,2,3,4,5,6,7,8,9,10,11,12};
int*p=a+5,*q=NULL;
*q=*(P+5);
prinff("%d%d\n",*p,*q);
}
A.运行后报错 B.66 C.611 D.55正确答案A