Examveda
Examveda

What is the difference between the built-in functions rand() and srand() in awk programming?

A. rand() generates the random number but srand() does not generate the random number

B. rand() generates the same random number always whenever the program runs but srand() generates the different

C. srand() requires the seed() function but rand() does not require to produce the same result

D. none of the mentioned

Answer: Option B


This Question Belongs to Computer Science >> Linux

Join The Discussion

Related Questions on Linux