• Courses
  • Code Compiler
  • Discuss
  • Pricing
  • Teams
Menu
+ 1

Why is srand()function used

c++rand
3rd Jul 2017, 10:19 AM
JERRY THOMAS
JERRY THOMAS - avatar
3 Answers
+ 18
https://www.sololearn.com/discuss/445811/?ref=app https://www.sololearn.com/discuss/151849/?ref=app
3rd Jul 2017, 10:21 AM
Igor Makarsky
Igor Makarsky - avatar
+ 1
thanks got it
3rd Jul 2017, 10:24 AM
JERRY THOMAS
JERRY THOMAS - avatar
0
seed for rand();
3rd Jul 2017, 3:50 PM
Nedim Kanat
Nedim Kanat - avatar

Often have questions like this?

Learn more efficiently, for free:

  • Introduction to Python

    7.1M learners

  • Introduction to Java

    4.7M learners

  • Introduction to C

    1.5M learners

  • Introduction to HTML

    7.5M learners

See all courses
Hot today
How do I spawn random obstacles in my game if I'm using canvas?
1 Votes
Negative indexed, while positive indexed, slices
0 Votes
How to learn java
0 Votes
How to do a game
0 Votes
hi, who has any react course
0 Votes
How do I make a button that teleports to an other part of code
0 Votes
GitHub
0 Votes
the language in Arabic is wrong the English words with the Arabic words make faults please fix this problem fastest you can
1 Votes
CSS syntax
0 Votes
Hello guys Anyone learning coding with sololearn
0 Votes