fork download
  1. #include <stdio.h>
  2. int main() {
  3. int i = 10;
  4. int *const p = &i;
  5. fd(&p);
  6. printf("%d\n", *p); }
  7. void fd(int **p) {
  8. int j = 11;
  9. *p = &j;
  10. printf("%d\n", **p);
  11. }
Success #stdin #stdout 0s 9424KB
stdin
Standard input is empty
stdout
11
0