问题 更新时间2023/5/9 20:11:00 以下函数为链队列的入队操作,x为要入队的结点的数据域的值,front、rear分别链队列的队头、队尾指针struct node{ ElemType data;struct node *next;};struct node *front,*rear; void InQueue(ElemType x) { struct node *p; p= (struct node*) malloc __(1)__; p->data=x; p->next=NULL; __(2)__; rear= __(3)__; 答案 登录 注册 选项1 (sizeof (struct node) 选项2 rear->next=p 选项3 p 出自:国家开放大学 >> 数据结构国家开放大学