Basic functions to learn C