1.

Which header file is used for generating random numbers?(a) (b) (c) (d) I got this question during an interview for a job.My query is from Generators topic in chapter Class Hierarchies, Library & Containers of C++

Answer»

The CORRECT answer is (d) <RANDOM>

Easiest explanation - header FILE is REQUIRED for using GENERATORS and distributions which helps in generating random numbers in a program.



Discussion

No Comment Found

Related InterviewSolutions