Re:Everything I wish I knew when learning C
by pratk on Tuesday November 29, 2022 @01:32AM
(#33784337)
Well C does allow "copying" an array if it's wrapped inside a struct, which does not make it O(1). gcc generates calls to memcpy in assembly for copying the array.
[ Parent
| on HN ]
There are no comments on this comment yet.