Vidyalelo
C++ Programming · Q455

C++ miscellaneous

Programming · C++ Programming · question 455

Q455

What is the use of random_shuffle() function of STL algorithm?

A.
To generate the random sequence in a range
B.
To generate a sequence in a given range and arrange them in random order
C.
To rearrange given sequence randomly
Answer
D.
To select any random number from the given sequence.

Answer: Option C

Solution

Answer: Option C
No explanation is given for this question Let's Discuss on Board