单项选择题用calloc函数创建具有10个整型元素的一维数组的正确语句是()。

A.int *p=calloc(10,2);
B.int *p=calloc(10);
C.int *p=calloc(10,4);
D.int *p=malloc(10)


您可能感兴趣的试卷