Home » C++ Programming » Numbers » Question
  1. Which header file is used to create the pseudo random generator?
    1. cstdlib
    2. random
    3. both random and cstdlib
    4. rand
    5. None of these
Correct Option: C

cstdlib header file is used to create pseudo random number. C++11 standard added random header file as well to generate random numbers.



Your comments will be displayed only after manual approval.