TELERAD interview question

How to implement a digital filter in C.