MCQs>IT & Programming>Data Structures And Algorithms>Suppose we have a circular array implementation of a queue, with ten items in the queue stored at data[2] through data[11]. The CAPACITY is 42. Where does the enqueue member function place the new entry in the array?
Data Structures And Algorithms MCQs
Suppose we have a circular array implementation of a queue, with ten items in the queue stored at data[2] through data[11]. The CAPACITY is 42. Where does the enqueue member function place the new entry in the array?
Answer
Correct Answer: data[12]
Explanation:
Note: This Question is unanswered, help us to find answer for this one