Passing table to a function

Passing a table to a function either via table type argument or by pointer.