title: C struct return pointer, store in reference
body: <p>I have a simple question which I am trying to figure out why...</p>
  
  <p>I have a function that returns a struct pointer. And I have a struct variable 'a'.</p>
  
  <pre><code>&amp;a = somefunc(...) // returns a pointer to my struct.
  error: lvalue required as left operand of assignment
  </code></pre>
  
  <p>Why does the above not work, while the following works...</p>
  
  <pre><code>struct whatever *b = somefunc(...)
  </code></pre>
  
  <p>My thinking is, in both cases, I am returning something of type struct whatever.</p>
  
  <p>Thanks!</p>