title: allocating a string inside a function inside a function in C
body: <p>If i have a char *str=null before the call to func1 which takes it as argument and func1 calls another function (func2) that will also take this string as argument and allocate and change it.
  should the signatures of the function be as follows?</p>
  
  <pre><code>   void func1(char ** str)
     void func2(char *** str)
  </code></pre>