Vidyalelo
Data Structure · Q24

Standard Libraries in Data Structures

Programming · Data Structure · question 24

Q24

What is the main use of the priority_queue in C++ Standard Library?

A.
To perform quick sorting operations.
B.
To manage a collection of elements in a priority order.
Answer
C.
To handle data streams efficiently.
D.
To perform quick sorting operations.

Answer: Option B

Solution

Answer: Option B
No explanation is given for this question Let's Discuss on Board