Address of index i = base address + index * size of each element
i
base address
index
size
When working with a group of people in a circular arrangement(or any similar situation), think of how a queue might be used here.
queue
Last updated 3 years ago