My solutions in C for this Code Golf problems