DazedNConfused
Programmer
In book it says that arrays cannot be passed by value to parameters of a function,but then in example it passes an array to an array parameter .I understand if you pass adress of an array to a pointer parameter,but how can you pass an adress to an array or do you pass something else?And to confuse me even more,when he explains why square brackets are empty,he says "THE SIZE OF THE FIRST DIMENSION OF AN ARRAY IS NOT PART OF ITS TYPE."Can someone please explain to me what he meant?
double x(double array[]) //header of a function
I thank you
double x(double array[]) //header of a function
I thank you