搜题
用户您好, 请在下方输入框内搜索其它题目:
搜题
题目内容 (请给出正确答案)
提问人:网友 发布时间:
【单选题】

假定指针变量p定义为“int *p=malloc(sizeof(int));”,要释放p所指向的动态存储空间,应调用的函数为()。

A、free(p)

B、delete(p)

C、free(*p)

D、free(&p)

更多“假定指针变量p定义为“int *p=malloc(sizeof(int));”,要释放p所指向的动态存储空间,应调用的函数为()。”相关的问题
第1题

A、int p=&m;  B、int *p=&m;  C、int&p=*m;  D、int *p=m;  

点击查看答案
第2题

A、char *p=s;  B、char *p=&s;  C、char *pp=*s;  D、char *p; p=&s;  

点击查看答案
第4题

A、A.p=m  B、B.p=&m  C、C.*p=&m  D、D.p=*m  

点击查看答案
客服
TOP

请使用微信扫码支付

订单号:
遇到问题请联系在线客服