Question d’entretien chez Apple

Write code for writing to a circular buffer.