6 ms·
Most languages have arrays that grow automatically. I'd say C/C++ is the exception there. When I said array, I specifically meant O(1) access, which is in cont
by Sn3llius 2y ago
Most languages have arrays that grow automatically. I'd say C/C++ is the exception there.
When I said array, I specifically meant O(1) access, which is in contrast to linked lists, which the name "list" would seem to imply.
- pjmlp 2y agoC++ has them on the standard library, I would make a clear split with C in this regard.