填空题 分析下列程序,并写出运行结果 [9]
#include<iostream.h>
void main()
int x[10]:
int i=5,*ptr=x;
*(ptr+i)=10;
cout<<x[i]<<end1;

  • 1、
【正确答案】 1、10    
【答案解析】