Some C exercises