下面程序的输出结果是()#include&ltiosteam.h&gt...
发布于 2022-03-03 17:28:13
下面程序的输出结果是()
#include<iosteam.h>
void main(){
int n[][3] = {10,20,30,40,50,60}
int (*p)[3]
p=n
cout<<p[0][0]<<","<<*(p[0]+1)<<","<<(*p)[2]<<endl
}
void main(){
int n[][3] = {10,20,30,40,50,60}
int (*p)[3]
p=n
cout<<p[0][0]<<","<<*(p[0]+1)<<","<<(*p)[2]<<endl
}
登录后免费查看答案
关注者
0
被浏览
23