Little tricks for c programming