How to use pointer to pointer to pointer (***) in C

1 Answer

0 votes
#include <stdio.h>

int main(void)
{
    int a = 13;
    int *p = &a;
    int **pp = &p;
    int ***ppp = &pp;

    printf("%d", ***ppp); 
  
    return 0;
}
  
    
/*
run:
  
13

*/

 



answered Jul 28, 2017 by avibootz

Related questions

1 answer 86 views
2 answers 147 views
2 answers 151 views
1 answer 114 views
2 answers 128 views
128 views asked May 12, 2023 by avibootz
...