title: How can I return an array?
body: <p>Is there any way to return an array from a function?  More specifically, I've created this function:</p>
  
  <pre><code>char bin[8];
  
  for(int i = 7; i &gt;= 0; i--)
  {
      int ascii='a';
      if(2^i-ascii &gt;= 0)
      {
          bin[i]='1';
          ascii=2^i-ascii;
      }
      else
      {
          bin[i]='0';
      }
  }
  </code></pre>
  
  <p>and I need a way to return <code>bin[]</code>.</p>