Re:Walter Bright on C's Biggest Mistake
by nitrogen on Friday December 25, 2009 @01:47AM
(#1014824)
sizeof() is used to determine the actual in-memory size of something for use by memcpy/malloc/etc., not the number of elements. There are commonly-used array size macros that can help with this, such as
[ Parent
| on HN ]
There are no comments on this comment yet.