A variable also has an associated lvalue. , meaning that a variable has a location that data or information can be put into. This is contrasted with a constant. A constant has some data value, that is an rvalue. But, it cannot be written to. It does not have an lvalue.
Another view of these terms is that objects with an rvalue, namely a variable or a constant can appear on the right hand side of a statement. They have some data value that can be manipulated. Only objects with an lvalue, such as variable, can appear on the left hand side of a statement. An object must be addressable to store a value.
再次证明程序猿必须要好好学习英语啊。。。看了一下,感觉我没理解错 Post by 电台司令 (2012-09-04 12:37)
理解还好,用着用着就知道什么意思了,只是之前读相关的文档时都会觉得蛋疼。。。
再次证明程序猿必须要好好学习英语啊。。。