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