C++ priority_queue emplace()
C++ priority_queue emplace() function is used to add a new element in priority-queue. This new element is added to the top of the priority-queue.
Consider priority_queue 'pq' as a priority_queue object.
Value: This element is inserted into the priority-queue is passed as the parameter.
mypqueue = India Hindustan Bharat
mypqueue = 3 2 1
mypqueue = c b a