Yes, but compilers (in the main), do not have a random number generator to decide what output to produce.