some C exercises