fork download
  1. #include <stdio.h>
  2.  
  3. int main() {
  4. char buf[10];
  5. char *p;
  6. p = (void*)4;
  7. printf("%p\n", (void*)p);
  8. p = &buf[3];
  9. printf("%p\n", (void*)p);
  10. return 0;
  11. }
Success #stdin #stdout 0s 2112KB
stdin
Standard input is empty
stdout
0x4
0xbff94075