On Wed, Nov 08, 2000 at 03:53:35PM -0600, Jake Bartolone wrote:
> It's my understanding that you can't put l(y) into l(x) because you > can't store an lvalue directly into another location. You can store an > rvalue, however, so you need to get r(y). I'm not sure why you want to > store the value in l(x) in the second case instead of in l(*x) though. Actually, you could put l(y) into l(x) - not that you ever should: try this - I haven't tested it, but it should work: int ** z; z = &x; *z = (int **)y; Not that is is horrible, ugly, and should be prohibited by anyting with more type checking than assembly - which is why C allows it. :-)
|
to: