fragments of simple c code