What is lvalue and rvalue ?

The expression appearing on right side of the assignment operator is called as rvalue.

Rvalue is assigned to lvalue, which appears on left side of the assignment operator. The lvalue should designate to a variable not a constant.

Leave a Reply

Your email address will not be published. Required fields are marked *