fork(1) download
  1. #include <stdio.h>
  2. #include <stdlib.h>
  3. #include <time.h>
  4.  
  5. int main(void) {
  6. int a,b;
  7. char c;
  8. srand(time(NULL));
  9. a=rand()%100;
  10. b=rand()%100;
  11. printf("%d%c%d= ",a,c,b);
  12. return 0;
  13. }
  14.  
Success #stdin #stdout 0s 5320KB
stdin
Standard input is empty
stdout
8310=