Learn C the hard way exercises : http://c.learncodethehardway.org/book/