Data Structures :: Queue
Home > Data Structures > Queue > Discussion
11. We need to implement a queue using a circular array. If DATA is a circular array of CAPACITY elements, and rear is an index into that array, what will be the index for the element after rear?
Answer: Option D
Explanation :
option A should be correct, modulus of a will always be zero in case of integer value.
TRICK
option A should be correct, modulus of a will always be zero in case of integer value.
Report Error
Please Login First Click Here