What could be wrong or incorrect with this function?
<blockquote>
  <p><strong>Possible Duplicate:</strong><br>
  <a href="http://stackoverflow.com/questions/6441218/can-a-local-variables-memory-be-accessed-outside-its-scope">Can a local variable’s memory be accessed outside its scope?</a>  </p>
</blockquote>



<pre><code>double* weird( double a, double b )
{ 
    double c;
    c = pow( a + b, 0.5 );
    return &amp;c;
}
</code></pre>

<p>It might be trivial for most of you guys, but I don't see what could go wrong here.</p>
