单选题
👁️ 浏览量:

试题题干

设int a[2]={1,2},*p=a;,则*p是()

A

元素a[0]的值

B

元素a[0]的地址

C

元素a[1]的值

D

元素a[1]的地址

参考答案

正确答案:

试题解析

题中指针p指向a的首地址a[0],所以*p就是a[0]的值。