Small functions in learning c