Question: I need this in C programming language please question 5: Queue: Linked list.based 23 pts s struct node; typedef struct qnode QNode; s struct node
question 5: Queue: Linked list.based 23 pts s struct node; typedef struct qnode QNode; s struct node ( typedef struct queue 1 QNode. rNode; e int data; QNode* next is QNode INode; } Queue ; Use this representation to answer the questions below: (a) (6 points) Write a function called 'Make Node' that on invocation creates a new node and assigns an element, k, and returns a pointer to the created node. add a new Node to the Queue. Your function should return a Status. (Assume this has been specified in a status.h file). (b) (9 points) Write a function called 'enqueue' that on utilizes the MakeNode' created in (A) above, to 10 e) nction should take an address of a handle of a queue opaque object and does not return anything. nction s NOTE: Do not assume the availability of a dequeue function
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
