I know that when you allocate an array with
int* arr = new int[n];
the compile creates an overhead to know how many there elements to deallocate. But does it creates an overhead to static arrays
int arr[4];
I think that the answer is no because you cannot delete[] such array, but I need to know for sure. Thanks!
staticlinkage orstaticstorage sense?