CS-301 Final Term Exams Preparation Virtual University MCQs With Answers

Question # 1
I have implemented the queue with a circular array. If data is a circular array of CAPACITY elements, and last is an index into that array, what is the formula for the index after last?

Choose an answer