The …………….. function in C++ seeds the pseudo-random number generator used by the rand() function.
A. srand( )
B. sran( )
C. rands( )
D. None of these
Answer:A
The …………….. function in C++ seeds the pseudo-random number generator used by the rand() function.
A. srand( ) B. sran( ) C. rands( ) D. None of these