int[][4]={1,2,3,4,5,6,7,8};int(*p)[4]=a;则表达式**(p+1)-*(*p+1)的值是?
来源:学生作业帮助网 编辑:六六作业网 时间:2024/12/25 13:52:05
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]
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了.