Pseudorandom Numbers
┌─────────────────────────┬──────────────┬─────────────────────────┬───────────┐
│ Function │ Header File │ Link to Function │ Descriptio│
├─────────────────────────┼──────────────┼─────────────────────────┼───────────┤
│ rand │ "stdlib.h" │ rand
│ Returns a │
│ │ │ │ pseudorand│m
│ │ │ │ integer. │
├─────────────────────────┼──────────────┼─────────────────────────┼───────────┤
│ srand │ "stdlib.h" │ srand
│ Sets the │
│ │ │ │ starting │
│ │ │ │ point for │
│ │ │ │ pseudorand│m
│ │ │ │ numbers. │
└─────────────────────────┴──────────────┴─────────────────────────┴───────────┘
[Back: Handling Argument Lists]
[Next: Dynamic Memory Management]