Adding c file for problem 49. Committed binary by mistake.
Adding solution for problem 50 in c.