I recently noticed that
void foo(int array[10]);
Does not load the stack with the content of array when foo
is called, so the declaration is equivalent to:
void foo(int *array):
I would like to find the section in the C99 standard that assert this behavior, but I don't find anything or I don't know what I should search for. So far I tried by reference
, by value
, function call
, passing arguments
, ...