In response to a student question on the COMP1511 course forum, I wrote up a discussion of how to approach semantics and structure of functions in a C program (in the scope of the course). I’ve reposted it here.