选择题
动态分配一整型数据长度的空间,使指针P指向该存储空间,则下列空缺处应填入的正确语句是______。
int*p;
P=()malloc(sizeof(int));
A、
int
B、
int*
C、
(*int)
D、
(int*)
【正确答案】
D
【答案解析】
提交答案
关闭