Question 180Asked in DSSSB TGT Computer Science, 25 Jun 2023, Shift 1 (8:30 AM)

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.
  1. ANeither (i) nor (ii)
  2. BBoth (i) and (ii)
  3. COnly (i)
  4. DOnly (ii)
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.

From DSSSB TGT Computer Science PYQ, 25 Jun 2023, Shift 1 (8:30 AM)

This is question 180 of DSSSB TGT Computer Science PYQ, 25 Jun 2023, Shift 1 (8:30 AM). See all questions of this paper with answers, or attempt the paper as a timed online test to get your score and all-India rank.