假定指针变量p定义为“int *p=calloc(30,sizeof(int));”,要释放p所指向的动态内存,应使用语句( )。
A、delete[p];
B、delete(p);
C、free[]p;
D、free(p);
出自:池州学院-数学与应用数学