填空题

假定要动态分配一个类型为struct Worker的具有n个元素的数组,并由r指向这个动态数组,则使用的语句表达式为()=malloc(n*sizeof(struct Worker))。

正确答案

struct Worker*r

答案解析