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