I havent written any C at all in a while, been writing perl. anyway - how do I pass an array by reference to a function?
could you write a simple function call and function prototype just showing how to pass an already declared array?
here's our array: int array[10];
and a function: void recieve_array(????);
and the function call: recieve_array(????);
can someone fill in the question marks for me? I feel stupid that I can't remember this.
could you write a simple function call and function prototype just showing how to pass an already declared array?
here's our array: int array[10];
and a function: void recieve_array(????);
and the function call: recieve_array(????);
can someone fill in the question marks for me? I feel stupid that I can't remember this.