fork(2) download
  1. #include <stdio.h>
  2.  
  3. int i = 5;
  4. int *ptr;
  5. int *ptr;
  6. int *ptr;
  7. int *ptr;
  8. int *ptr = &i;
  9.  
  10. int main(){
  11. printf("%d", *ptr); // 5
  12. return 0;
  13. }
Success #stdin #stdout 0s 2292KB
stdin
Standard input is empty
stdout
5