Which of the following is true with reference to Queue Data Structure in the C programming language?
Which of the following is true with reference to Queue Data Structure in the C programming language?
(i) Insertion can take place from the front end.
(ii) Deletion can take place from the rear end.
Show answerHide answer
Correct answer: (A) Neither (i) nor (ii)
Explanation
Neither statement is true. In a queue, insertion (enqueue) happens at the rear and deletion (dequeue) at the front.