Live quiz

cpp - Part 72

Question 1 of 25 Hints left: 3
Q1

What will be the output of the following C++ code? #include <iostream> #include <queue> using namespace std; int main () { queue<int> myqueue; myqueue.push(12); myqueue.push(75); myqueue.back() -= myqueue.front(); cout << myqueue.back() << endl; return 0; }

  • A
  • B
  • C
  • D