2 ms·
It only has manual memory management. No GC. But if you don't target C, you can just skip using "delete".
by gjndrtjh 13y ago
It only has manual memory management. No GC.
But if you don't target C, you can just skip using "delete".
- stephth 13y agoRight, from the documentation (albeit hidden in the Arrays section): Since there is no garbage collection in C, you must free the dynamically allocated array with delete. delete translates to C as free and nothing in other (garbage-collecting) languages.