Passing array pointers

Sample code to pass arrays to functions