mikroC
making it simple...
LvaluesmikroC - C Compiler for Microchip PIC microcontrollers
An lvalue is an object locator: an expression that designates an object. An example of an lvalue expression is *P, where P is any expression evaluating to a
Historically, the l stood for “left”, meaning that an lvalue could legally stand on the left (the receiving end) of an assignment statement. Now only modifiable lval- ues can legally stand to the left of an assignment operator. For example, if a and b are nonconstant integer identifiers with properly allocated memory storage, they are both modifiable lvalues, and assignments such as a = 1 and b = a + b are legal.
RvaluesThe expression a + b is not an lvalue: a + b = a is illegal because the expression on the left is not related to an object. Such expressions are sometimes called rvalues (short for right values).
|
| page |
MikroElektronika: Development tools - Books - Compilers | 53 | |
|