Ask a Teacher



What are values ?

  A value is an expression which cannot be evaluated any further.The members of a type are the values of that type.Some languages use the idea of l-values and r-values. Lvalues have memory addresses that are programmatically accessible to the running program (e.g., via some address-of–operator like "&" in C/C++), meaning that they are variables or dereferenced references to a certain memory location. Rvalues can be lvalues (see below) or non-lvalues—a term only used to distinguish from lvalues.


comments powered by Disqus