3 ms·
The original claim was that the proposal would be C really passing arrays. In the article it says: "the inability to pass an array to a function as an array, e
by knaq 6y ago
The original claim was that the proposal would be C really passing arrays. In the article it says:
"the inability to pass an array to a function as an array, even if it is declared to be an array. C will silently convert the array to be a pointer, and will rewrite the function declaration so it is semantically a pointer"
...and later, referring to the new syntax:
"an array is passed"
In no way is it so. It has nothing to do with passing arrays. It's passing a fat pointer, which is different.