fork download
  1. #include <stdio.h>
  2. #include <string.h>
  3. #include <stdlib.h>
  4. power(int**);
  5. int main ()
  6. {
  7. int a=5, *aa;
  8. aa = &a;
  9. a = power (&aa);
  10. printf("%d\n", a);
  11. return 0;
  12. }
  13.  
  14. power(int **ptr)
  15. {
  16. int b;
  17. b = **ptr***ptr;
  18. return (b);
  19. }
Success #stdin #stdout 0.01s 5288KB
stdin
Standard input is empty
stdout
25