How to generate random number numbers in c iteratively, without having the same sequence?

I want to generate say 10 good random numbers 10 times in one execution, without pattern or sequence.
...