rand.c 158 B

12345678910
  1. #include <stdlib.h>
  2. #include <stdio.h>
  3. #include "test_helpers.h"
  4. int main(void) {
  5. printf("%d\n", rand());
  6. srand(259);
  7. printf("%d\n", rand());
  8. }