fork(1) download
  1. #include <stdlib.h>
  2. #include <stdio.h>
  3. int main(void)
  4. {
  5. int magic, i;
  6. srand(1);
  7. for (i=0; i<10; i++)
  8. {
  9. magic = rand() % 100 + 1;
  10. printf("%d ", magic);
  11. }
  12. printf("\n");
  13. return 0;
  14. }
Success #stdin #stdout 0s 5320KB
stdin
Standard input is empty
stdout
84 87 78 16 94 36 87 93 50 22