If I were to define the following array using the zero-fill initialization syntax on the stack:
int arr[ 10 ] = { 0 };
... is the run time constant or linear?
My assumption is that it's a linear run time -- my assumption is only targeting the fact that calloc
must go over every byte to zero-fill it.
If you could also provide a why and not just it's order xxx that would be tremendous!