1.

What is random_device?(a) A pseudo-random number generator(b) Time-dependent random number generator(c) Simple random number generator(d) A true random number generatorI got this question in an online quiz.The origin of the question is Generators topic in chapter Class Hierarchies, Library & Containers of C++

Answer»

The correct OPTION is (d) A true RANDOM NUMBER GENERATOR

Explanation: random_device is a true random number generator not the PSEUDO random number generator.



Discussion

No Comment Found

Related InterviewSolutions