Small practice programs in C