若已定义:int a[10],*pi,(*ps)[10];错误的是 A,pi=a,ps=pi; B,pi=a,ps=&a,*(*ps)=10; C,ps=&a,

来源:学生作业帮助网 编辑:作业帮 时间:2024/05/11 00:37:59
若已定义:int a[10],*pi,(*ps)[10];错误的是 A,pi=a,ps=pi; B,pi=a,ps=&a,*(*ps)=10; C,ps=&a,

若已定义:int a[10],*pi,(*ps)[10];错误的是 A,pi=a,ps=pi; B,pi=a,ps=&a,*(*ps)=10; C,ps=&a,
若已定义:int a[10],*pi,(*ps)[10];错误的是 A,pi=a,ps=pi; B,pi=a,ps=&a,*(*ps)=10; C,ps=&a,

若已定义:int a[10],*pi,(*ps)[10];错误的是 A,pi=a,ps=pi; B,pi=a,ps=&a,*(*ps)=10; C,ps=&a,
答案是A,
a value of type "int *" cannot be assigned to an entity of type "int (*)[10],
ps = pi 错误.