搜题
王老师:19139051760(拨打)
题目  更新时间:2023/4/3

设有关于结构体类型的定义:(     ) struct data { int num; struct data *next; } *p,* head=NULL; 下列语句中正确的有

A.p=(struct data *)malloc(sizeof(struct data))
B.p=(struct data )malloc(sizeof(struct data))
C.p=(struct data *)malloc(sizeof(data))
D.p->next=head
E.p.next=head

王老师:19139051760(拨打)