Topic: To appropriate a variable value void functions
At me today the strange question because I, actually, not so understand, whether is it at me, or me is simple . Business was so. I sit, I am picked with With ++, I write an educational aaplet. Wrote function, like the such
void read (unsigned char &value)
And further was, as it seems to me, a call
val = read (val)
It seems - because I then thought, well a hogwash any, whether it is not enough, in a C ++ value void can is possible for function to something to appropriate. Deleted this code, and, unfortunately, did not save. And then decided to understand, but I can not repeat.
In this connection a question - in a C ++ it is valid so it is possible to make, can be in any specific conditions? Or all it seemed to me?