填空题 以下程序的输出结果是______。
#include <stdio.h>
main()
int a[5]=2,4,6,8,10,*p;
p=a;p++;
prinft("%d",*p);


  • 1、
【正确答案】 1、4    
【答案解析】[解析] 在主函数中,语句p=a;p++使用指针p指向数组a[1],所以输出结果为4。