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.
再次證明程序猿必須要好好學(xué)習英語啊。。?戳艘幌,感覺我沒理解錯 Post by 電臺司令 (2012-09-04 12:37)
理解還好,用著用著就知道什么意思了,只是之前讀相關(guān)的文檔時都會覺得蛋疼。。。
再次證明程序猿必須要好好學(xué)習英語啊。。。