1.

What is the output of this program?
#include <iostream>
#include <list>
#include <queue>
using namespace std;
int main()
{
queue<char> que;
que.push('I');
que.push('L');
que.push('U');
cout << que.front() << " ";
que.pop();
cout << que.front() << " ";
que.pop();
cout << que.front();
que.pop();
}

A. L U I
B. I U L
C. L I U
D. I L U
E. None of these
Answer» E. None of these


Discussion

No Comment Found