有以下程序
#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正确答案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正确答案A