Question

Which of the following statements creates a uniform_int_distribution object for producing values in the range -10 to 20?
a. uniform_int_distribution<unsigned int> randomInt{20, -10};
b. uniform_int_distribution<unsigned int> randomInt{-10, 20};
c. uniform_int_distribution<int> randomInt{20, -10};
d. uniform_int_distribution<int> randomInt{-10, 20};

Answer

This answer is hidden. It contains 55 characters.