Google News
logo
Data Structures - Quiz(MCQ)
Which of the following principle is used if two elements in the priority queue have the same priority?
A)
FIFO
B)
LIFO
C)
Linear tree
D)
None of the above

Correct Answer :   FIFO


Explanation : FIFO. In a priority queue, if two or more elements have the same priority then they are arranged based on the FIFO principle.

Advertisement