填空题 C语言
题号 #152746

现有如下定义:struct aa{int a;float b;char c;}*p;现需用malloc函数动态的申请一个struct aa类型大小的空间(由p指向),则定义的语句为: 【17】 。

进入在线模考

参考答案

暂无

答案解析

p=(struct aa *) malloc (sizeof(struct aa));

你可能感兴趣的试题

找试题 · 找答案 · 找资料 在线模考