rand() function | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 3

rand() function

can any one help me into rand() function!?? I mean I don't know the concept of that...

5th Jun 2017, 11:56 AM
Bhavin Kanzariya
Bhavin Kanzariya - avatar
5 Answers
+ 4
what??
5th Jun 2017, 12:03 PM
Bhavin Kanzariya
Bhavin Kanzariya - avatar
+ 3
i wann basic knowledge of that
5th Jun 2017, 12:01 PM
Bhavin Kanzariya
Bhavin Kanzariya - avatar
+ 3
On which language?
5th Jun 2017, 12:06 PM
Nomeh Uchenna Gabriel
Nomeh Uchenna Gabriel - avatar
+ 3
c++
5th Jun 2017, 1:07 PM
Bhavin Kanzariya
Bhavin Kanzariya - avatar
0
This function allows you to automatically generate random numbers for your application. For instance, in a game where you have to roll a dice, you could use this function to randomly generate a number between 1 to 6 EACH time the dice is rolled by your user.
21st Jul 2017, 6:43 PM
Junaid Khalid
Junaid Khalid - avatar