title: How to point to a pointer of a pointer
body: <p>I'm writing a program that can modify rows and cols from a function of a function. I don't understand how to do pointer of a pointer.</p>
  
  <pre><code>void changeNum(int*setRows, int *setCol)
  {
    changeNum2(*setRows,*setCol);
  }
  void changeNum2(int*setRows, int *setCol)
  {
    *setRows=5;
    *setCol=5;
  }
  int main() {
    int*row=10;
    int* col=10;
    changeNum(&amp;row,&amp;col);
    printf("%d %d",row,col);
    return 0;
  }
  </code></pre>