问题详情

下列与char*pa[3][5]={"a","bb","ccc"}等价的是( )。A.char (*pa)[][5]={"a","bb","ccc"}B.char*pa[3][]={"a","bb","ccc"}C.char pa[3][]={"a","bb","ccc"}D.都不等价


A、char (*pa)[][5]={"a","bb","ccc"}

B、char*pa[3][]={"a","bb","ccc"}

C、char pa[3][]={"a","bb","ccc"}

D、都不等价

时间:2022-01-06 00:29 关键词:

答案解析

D
数组的二维下标不能省,一维的倒是可以省略,题目定义的是数组指针,A项错误,B,C项省略了数组下标所以错误。