Hi,
this is from the C standard document:
I thought just an normal constant expression would describe this behaviour.....
In other words, what is the difference between
and
then?
Thanks for helping me out of this.
kind regards,
this is from the C standard document:
If the keyword static also appears within the [ and ] of the array type derivation, then for each call to the function, the value of the corresponding actual argument shall provide access to the first element of an array with at least as many elements as specified by the size expression.
I thought just an normal constant expression would describe this behaviour.....
In other words, what is the difference between
Code:
int foo(int a[static 10]) { ... }
Code:
int foo(int a[10]) { ... }
Thanks for helping me out of this.
kind regards,