注意:此页面搜索的是所有试题
假定指针变量p定义为“int *p=calloc(30,sizeof(int));”,要释放p所指向的动态内存,应使用语句( )。
A、delete[p];
B、delete(p);
C、free[]p;
D、free(p);

参考答案