Q. 
Suppose you are given an implementation of a queue of integers. The operations that can be performed on the queue are:

A.  leaves the queue q unchanged 
B.  reverses the order of the elements in the queue q 
C.  deletes the element at the front of the queue q and inserts it at the rear keeping the other elements in the same order 
D.  empties the queue q 
Answer» B. reverses the order of the elements in the queue q 
Login to Continue
It will take less than 2 minutes