What is displayed after line 8 is run?

```
1 queue list;
2 list.push(“eggs”);
3 list.push(“milk”);
4 list.push(“bread”);
5 list.push(“cheese”);
6 cout << line.size();
7 list.pop();
8 cout << list.front();
9 list.pop();
10 list.pop();
11 list.pop();
```

A. eggs
B. milk
C. cheese
D. The program crashes.


B

Computer Science & Information Technology

You might also like to view...

An array that is made using dynamically allocated memory is a:

A. static array B. dynamic array C. circular array D. heap array

Computer Science & Information Technology

To quickly transfer formatting changes to text in one location to other text in the document, you can use the Format ________

A) character B) template C) Paintbrush D) extension

Computer Science & Information Technology

InDesign provides a special window, called the Text Finder, that can be used to edit text that has already been placed.

Answer the following statement true (T) or false (F)

Computer Science & Information Technology

A(n) ________ is created at the end of lines when you continue to type without entering a hard return

Fill in the blank(s) with correct word

Computer Science & Information Technology