title: Why does function cause this compiler warning: Incompatible pointer to integer conversion returning 'char[20]' from a function...
body: <p>What is the problem in that function?</p>
  
  <pre><code>char printThis()
  {
      char str[20] = "This is a string";
      return str;
  }
  </code></pre>
  
  <p>I get a warning : Incompatible pointer to integer conversion  returning 'char[20]' from a function with result type char </p>