For the given (single-ended) queue implemented using a fixed…
For the given (single-ended) queue implemented using a fixed-size array, fill in the blanks for the given operations- Queue queue q; q.push(5) index of front = [front1] index of rear= [rear1] q.push(6) index of front= [front2] index of rear= [rear2] q.pop() index of front= [front3] index of rear= [rear3] q.pop() index of front= [front4] index of rear= [rear4]
Read Details