Qwilt Interview Question

Implement a circular buffer in c