Q. Which function can be used to generate a random integer between two values?
β
Correct Answer: (C)
Both option1 and option2
Explanation: rand() and random_int() can both generate random numbers; random_int() is cryptographically secure.