written in c

written in c.