1

question about calling an array inside of a user defined function?

view story
linux-howto

http://www.linuxquestions.org – im tasked with creating a linear search script using functions on a 10 element array. the elements are to be supplied by the user as is the search target. I understand how to create the array and gather that information from the user as well as howto set a variable for "target", this is what im calling it. Those two parts are simple enough. I am not fully understanding the calling of an array in a function as a pointer. i semi understand the use of a pointer and howto call a normal pointer in a function. i also understand that an array is nothing more then a "special" (HowTos)