Question: Suppose you used a queue implemented using Circular array Queue and whose size is 11 and the elements of the queue are q[0], q[1], [2]....,q[10].

 Suppose you used a queue implemented using Circular array Queue and

Suppose you used a queue implemented using Circular array Queue and whose size is 11 and the elements of the queue are q[0], q[1], [2]....,q[10]. The front and rear indexes are initialized to point at q[2]. In which position will the ninth element be added? Select one: O A. (0) O B. q[1] OC.919] OD. [10]

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!