I had thought that if I have a function that returns a pointer and the compiler will not allow
this:
that I could do this:Code:datatype thing; &thing=function();
so that the return value gets written into thing. I'm now thinking this might not be true because, in fact, *ptr is simply reassigned to a different address by function()...Code:datatype thing, *ptr=&thing; ptr=function();
I guess I could test this somehow, but I thot I'd just ask