Some of c simplified programming