Why is there a delete[]? From my understanding its to behave differently for arrays. However, why does it really exist? Theres only free in C and no free_array. Also in syntax the only difference between delete var and delete []var is the []
which has no params (i'm not telling the length of the array).
So why does delete[] really exist? I know someone will say you can overload delete and delete[] (at least i think that is possible) but lets say we are not overloading it. Why does it exist?