Re:A convenient untruth: Array notation in C is a lie
by posterboy on Thursday December 22, 2016 @07:42AM
(#13236870)
Java also gets this right, probably in direct response to the crufty C syntax.
> (to be of type pointer, rather than int)
No,the array typeis not a pointer, although implicit casts to pointer occur e.g. for passing arrays as function arguments. The practical difference is ... well, I don't know.
> (to be of type pointer, rather than int)
No,the array typeis not a pointer, although implicit casts to pointer occur e.g. for passing arrays as function arguments. The practical difference is ... well, I don't know.