Functions and Parameter Passing
A function packages a computation behind a name and a list of parameters. Functions make programs readable, let code be reused, and are the mechanism behind recursion.
Programming in C · topic
Call by value and emulating call by reference with pointers, array parameters, argument evaluation order, parameter passing models in theory questions, block and file scope, storage duration, linkage and the auto, static, extern and register specifiers.
A function packages a computation behind a name and a list of parameters. Functions make programs readable, let code be reused, and are the mechanism behind recursion.
Every identifier in a C program raises three separate questions:
One-page visual sheets for this topic, in the sheet library on the store. Previews are free; the full sheets come with the subject pack.