Question discussion

Which of the following is true with reference to Queue Data Structure in the C programming language?(i) Insertion can take place from the f…

3345Medium DSSSB TGT Computer Science 0 replies 2 views
0

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.

  • ANeither (i) nor (ii)
  • BBoth (i) and (ii)
  • COnly (i)
  • DOnly (ii)
Correct answer: A

Explanation

In a queue, insertion takes place at the rear end and deletion at the front end. Both (i) and (ii) are wrong.

Discussion 0

Nobody has replied yet. Start the discussion!