Some programs in C