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.
C. To handle data streams efficiently.
D. To perform quick sorting operations.
Answer: Option B

Join The Discussion