0
What is the maximum possible value of the following code
Cout<<rand()%2+10;
5 Respuestas
+ 5
nope u can easily google it
😉
+ 4
11
+ 1
Pls use search bar next time....
https://www.sololearn.com/post/10362/?ref=app
You can find from this all..
Complete course function lesson here...
It covered rand() clearly...
https://www.sololearn.com/learn/CPlusPlus/1638/
https://www.sololearn.com/discuss/2192332/?ref=app
https://www.sololearn.com/discuss/1079313/?ref=app
Additionally..
https://www.sololearn.com/discuss/1456724/?ref=app
0
Can you explain what is rand() please
0
rand() evaluates a random integer between 0 and 4 294 967 295 (unsigned long).
The result is not truly random, you may notice getting identical results when you run the code again, but the lesson offers a good solution.