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

来源:学生作业帮助网 编辑:作业帮 时间:2024/05/08 16:30:44
若有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的值?

若有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
不懂欢迎追问