Apple Interview Question

Design a FIFO buffer using the C programming language.