Google News
logo
Golang - Interview Questions
What are rvalue and Ivalue?
Golang supports two kinds of expressions:
 
lvalue : The expressions which are referred to as memory locations are known as "lvalue" expressions. It appears either on the right-hand or left-hand side of an assignment operator.
 
rvalue : It refers to a data value that is stored at some address in memory. It cannot have a value assigned to it. So rvalues always appear on the right side of the assignment operator.
Advertisement