int[][4]={1,2,3,4,5,6,7,8};int(*p)[4]=a;则表达式**(p+1)-*(*p+1)的值是?

来源:学生作业帮助网 编辑:作业帮 时间:2024/11/23 20:50:41
int[][4]={1,2,3,4,5,6,7,8};int(*p)[4]=a;则表达式**(p+1)-*(*p+1)的值是?
x)+66111111ױJihh$v|pŋ}z@N]-mCZ6y6cMR> L/k_do OvzEާk:nbaϓ]m+(PVTU(Ό=lx{)\P U`&]m` 1bm dZC-ـ0.RR l\|g1z6yvL

int[][4]={1,2,3,4,5,6,7,8};int(*p)[4]=a;则表达式**(p+1)-*(*p+1)的值是?
int[][4]={1,2,3,4,5,6,7,8};int(*p)[4]=a;则表达式**(p+1)-*(*p+1)的值是?

int[][4]={1,2,3,4,5,6,7,8};int(*p)[4]=a;则表达式**(p+1)-*(*p+1)的值是?
记住一个万能公式就行了:
*(p + i) = p[i]
所以:
**(p+1) = *(*(p+1)) = *(p[1]) = *(p[1] + 0) = p[1][0] = 5;
*(*p + 1) = *(*(p + 0) + 1) = *(p[0] + 1) = p[0][1] = 2;
所以结果就是3了.