C exercises