1.

What are different operations are used in Pseudo-random number engines?(a) operator()(b) min()(c) max()(d) all of the mentionedI had been asked this question at a job interview.The doubt is from Generators in chapter Class Hierarchies, Library & Containers of C++

Answer»

Correct choice is (d) all of the mentioned

Easy EXPLANATION - Pseudo-random NUMBER engines use three operations operator() that generates a random number, MIN() that returns minimum VALUE returned by MEMBER operator() and max() returns the maximum value.



Discussion

No Comment Found

Related InterviewSolutions