0
What is the output of the following C++ program?
#include <iostream>
#include <queue>
#include <vector>
#include <functional>
using namespace std;
int main() {
priority_queue<int> a;
priority_queue<int, vector<int>, greater<int>> b;
for (int x : {5, 1, 8, 3}) { a.push(x); b.push(x); }
a.pop(); b.pop();
cout << a.top() << b.top();
return 0;
}- A53
- B83
- C51
- D13
Correct answer: A