4 ms·
Right, from the documentation (albeit hidden in the Arrays section): Since there is no garbage collection in C, you must free the dynamically allocated array w
by stephth 13y ago
Right, 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.