Top

Discussion

Queue data structure works on the principle of ____________

  • A.Last In First Out (LIF0)
  • B.First In Last Out (FILO)
  • C.First In First Out (FIFO)
  • D.Last In Last Out (LILO)

Answer: C

Queue is a linear data structure which works on the principle of first in first out. This means that the first element to be inserted in a queue will be the first one to be removed.

No comment is present. Be the first to comment.
Loading…

Post your comment