单选题
设int a [4];int *p=a,则sizeof (p)和sizeof (a)的值分别是______ 。
A、
4和4
B、
16和4
C、
16和16
D、
4和16
【正确答案】
D
【答案解析】
[解析] a为数组,所以sizeof (a)为16。
提交答案
关闭