有如下程序:#include <stdio.h> ma

有如下程序:

#include <stdio.h>
main()
 {
 int i,*ptr;
 int array[3]={8,2,4};
 for(ptr=array,i=0;i<2;i++)
 printf("%d,",*ptr++);
 printf("\n");
 }

程序运行后的输出结果是(  )

答案
A

题目信息

题号:4509
题型:单选题
难度:普通