问题 单项选择题

语句int*p=&k;定义了指针p,与这个语句等效的语句序列是( )

A.int*p;p=&k;
B.int*p;p=k;
C.int*p;*p=&k;
D.int*p;*p=k;

答案

参考答案:A

选择题
单项选择题