fork(1) download
  1. #include <stdio.h>
  2.  
  3. typedef struct student{
  4. int id;
  5. int mark;
  6. }stud;
  7.  
  8. stud *s1;
  9.  
  10. int main(){
  11. s1 = NULL;
  12. printf("hi");
  13. return 0;
  14. }
Success #stdin #stdout 0.01s 1720KB
stdin
Standard input is empty
stdout
hi