Source: https://web.stanford.edu/class/archive/cs/cs106b/cs106b.1134/handouts/05-FunctionsInC .pdf