Which among the given function does not return a value?

Trường Phan

New member
Which among the given function does not return a value?
A. strtoul()
B. strtol()
C. rand()
D. srand()
 
Answer: d
Explanation: void srand(unsigned int seed);
The srand() function uses argument as a seed for a new sequence of pseudo-random numbers to be returned by subsequent calls to rand(). The srand() function returns no value.
 

Tìm kiếm

Back
Top