some program code in c