填空题

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

【参考答案】

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