Writing some program of C