若有int a[i]={1,2,3,4},*p=a,m,m=(*p)++;则m的值?

来源:学生作业帮助网 编辑:作业帮 时间:2024/04/30 06:24:45

若有int a[i]={1,2,3,4},*p=a,m,m=(*p)++;则m的值?
若有int a[i]={1,2,3,4},*p=a,m,m=(*p)++;则m的值?

若有int a[i]={1,2,3,4},*p=a,m,m=(*p)++;则m的值?
p=a
指向数组首地址
m=(*p)++
m的值就是*p=1
*p相当于 p[0]=1
所以最后结果为1
不懂欢迎追问