Dolby interview question

How to implement a buffer in C?