What are the steps to create queue with linked list
Step 1 : Create a new node
Step 2 : Assign data to the data member of new node
step 2 : if queue is empty go to step 3 else go to step 4
step 3 : Make new node as front
step 4 : Make temporary node as front until it reaches the last node bump the temporary node
step 5 : make temporary node link as new node
step 6 : end
How to make function for enqueueig ?Code:struct QNode { int key; struct QNode* next; };