欢迎来到牛牛题库网 牛牛题库官网
logo

未知题型

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

A.h>
【参考答案】

10
10

点击查看答案
微信小程序免费搜题
微信扫一扫,加关注免费搜题

微信扫一扫,加关注免费搜题