title: calculating the size of the array in c, given only a pointer
body: <pre><code>char* username
  </code></pre>
  
  <p>is a pointer to the beginning of a character array (in c).</p>
  
  <p>How do I calculate the size of the array, is there is function that can do it?</p>