A

Admin • 828.03K Points
Coach

Q. Which function is used to generate a random integer between two values?

  • (A) rand()
  • (B) random()
  • (C) random_int()
  • (D) mt_rand()
  • Correct Answer - Option(A)
  • Views: 11
  • Filed under category PHP
  • Hashtags:

Explanation by: Admin
rand(min, max) generates a random integer between min and max.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.