Assume that the dequeue function, called on line 4, stores the number removed from the queue in the value variable. What will the statement on line 5 display?

Given the following code, assume the myQueue object is a queue that can hold integers and that value is an int variable.
```
1 myQueue.enqueue(0);
2 myQueue.enqueue(1);
3 myQueue.enqueue(2);
4 myQueue.dequeue(value);
5 cout << value << endl;
```

a. 0
b. 1
c. 2
d. None of these

a. 0

Computer Science & Information Technology

You might also like to view...

What is not considered a part of a Uniform Resource Locator (URL)?

A) Protocol B) Domain name C) Path D) Resource

Computer Science & Information Technology

The accompanying figure displays the steps required to create a Flickr ____ and embed it in a blog's sidebar.

A. account B. profile C. badge D. archive

Computer Science & Information Technology