added answers for C and Clojure
(still need to work on Ruby solution)