fork(1) download
  1. #include <stdio.h>
  2.  
  3. int main(void)
  4. {
  5. int x;
  6. printf("enter the no.=");
  7. scanf("%d",&x);
  8. printf("The no is=%d",x);
  9. return 0;
  10. }
  11.  
Success #stdin #stdout 0s 2116KB
stdin
Standard input is empty
stdout
enter the no.=The no is=-1217446323