![](https://static.youtibao.com/asksite/comm/h5/images/m_q_title.png)
[主观题]
若有语句:int a【3】【4】,(。P)【4】;P=a;,则以下选项中叙述错误的是()
A.系统将开辟一个名为P的二维数组,[o][o]中的值即为a[o][o]中的值A.系统将开辟一个名为P的二维数组,[o][o]中的值即为a[o][o]中的值B.P+1代表a[1][0]的地址C.P中将存放a数组的首地址D.P+2代表a数组后一行的首地址
![](https://static.youtibao.com/asksite/comm/h5/images/m_q_a.png)
A
![](https://static.youtibao.com/asksite/comm/h5/images/solist_ts.png)
A
A.*w[1]1
B.p,*(p1)
C.w[2][2]
D.p[1][1]
A.&a,&*point,point
B.a,point,*&a
C.&*a,&a,*point
D.*&point,*point,&a
A.&t[3][2]
B.*pt[0]
C.*(pt+1)
D.&pt[2]
A.ptr1=&m;ptr2=&ptr1
B.ptr1=&m;ptr2=n;*ptr2=*ptr1
C.ptr1=&m;ptr2=ptr1
D.ptr1=&m;*ptr2=*ptr1
若有以下程序:
#include using namespace std ; class Point { int x, y; public :
Point () { x = 0; y = 0; } void SetPoint (int x1, int y1) { x = x1; y = y1; } void DisPoint () { cout << "x=" << x << "," << "y=" << y << endl ; } }; int main() { Point * p = new Point ; p-> SetPoint (5, 12); p-> DisPoint (); delete p; return 0; } 上面程序的输出结果为:
int xxk8(int n)
int i, p=1, sum=1;
//补充完整下面for循环语句的循环体(即一-条复合语句)
for(i=1; i<=n; i++)
;
return sum;