fork download
  1. #include <stdio.h>
  2.  
  3. void func(int **p) {
  4. printf("Pointer is at %x\n", p);
  5. }
  6.  
  7. int main(void) {
  8. int *p;
  9. func(p);
  10. func(&p);
  11. int **pp = &p;
  12. func(&pp);
  13. return 0;
  14. }
Success #stdin #stdout 0s 2008KB
stdin
Standard input is empty
stdout
Pointer is at bf987c8c
Pointer is at bf987bc8
Pointer is at bf987bcc