First page Back Continue Last page Overview Text

Notes:


In this example, instead of a pointer to a ruby date structure being used, an entire structure is used, and the address of that structure is passed to the fill commercial function.

Since the structure is allocated on the stack and not the heap, the memory is automatically freed when the function returns.