title: how to properly output TCHAR from function?
body: <p>This code:</p>
  
  <pre><code>#include &lt;tchar.h&gt;
  
  TCHAR example_function() {
    TCHAR example_tchar[10];
    return example_tchar;
  }
  
  int main() { }
  </code></pre>
  
  <p>Gives error:</p>
  
  <pre><code>In function 'TCHAR example_function()':
  error: invalid conversion from 'TCHAR* {aka char*}' to 'TCHAR {aka char}' [-fpermissive]
  warning: address of local variable 'example_tchar' returned [enabled by default]
  </code></pre>