Clock Functions Added in Arrays code

So I put in the clock_t stuff and after the adding to the beginning of the array it just says everything else took zero microseconds. The random number generator also isn't getting me anything above 30,000 for integer values even though I put the number 1000001 in the rand statement after modulus (the extra 1 at the end to include 1000000 as well)