fork(1) download
  1. #include <stdio.h>
  2. #include<stdlib.h>
  3. int main(void)
  4. {
  5. int num1;
  6. num1=rand()%12;
  7. printf("%d\n",num1);
  8. return 0;
  9. }
Success #stdin #stdout 0s 5320KB
stdin
Standard input is empty
stdout
7