5 ms·
> It also uses sizeof to calculate the size of an array which would be good in any language except C It is a pretty standard and popular way of finding the siz
by ctrlmeta 4y ago
> It also uses sizeof to calculate the size of an array which would be good in any language except C
It is a pretty standard and popular way of finding the size on an array. The only caveat is that the programmer really has to be sure that it really is an array and not a pointer to an array.