write in c