标签:div turn 爱奇艺 sys 答案 输出 bsp class 程序
知识点稍后整理,其
有一道程序题,问以下程序的输出
1 int main() { 2 int n[][3] = { 10,20,30,40,50,60 }; 3 int(*p)[3]; 4 p = n; 5 cout << p[0][0] << " " << *(p[0] + 1) << " " << (*p)[2] << endl; 6 system("pause"); 7 return 0; 8 }
答案:10,20,30
标签:div turn 爱奇艺 sys 答案 输出 bsp class 程序
原文地址:https://www.cnblogs.com/dapeng-bupt/p/8930888.html