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
Related Questions on Linux
What command is used to count the total number of lines, words, and characters contained in a file?
A. countw
B. wcount
C. wc
D. count p
E. None of the above
What command is used with vi editor to delete a single character?
A. x
B. y
C. a
D. z
E. None of the above
Join The Discussion