title: How does a pointer of pointer work in this C code?
body: <pre><code>int r = 50;
  int *p;
  int **k;
  int ***m;
  printf( "r: %d ", r );
  p = &amp;r;
  k = &amp;p;
  m = &amp;k;
  ***m = 100;  //line 9
  printf( "r: %d\n", r );
  </code></pre>
  
  <p>When there is only one pointer, I can understand that we take 100 and we assign it to the variable at the address which is being held by the pointer. But what exactly is happening step by step when we do this with more than one pointer level? (line 9)</p>