fork download
  1. #include <stdio.h>
  2.  
  3. int main(void) {
  4. int *ptr = NULL;
  5.  
  6. ptr++;
  7.  
  8. printf(" Address is %x\n", ptr);
  9. return 0;
  10. }
  11.  
Success #stdin #stdout 0s 2168KB
stdin
Standard input is empty
stdout
 Address is 4