Lvalue And Rvalue?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • priya.sharma
    Senior Member
    • Aug 2016
    • 105

    Lvalue And Rvalue?

    What is lvalue and rvalue?
  • Guest

    #2
    The expression appearing on right side of the ***ignment operator is called as rvalue. Rvalue is ***igned to lvalue, which appears on left side of the ***ignment operator. The lvalue should designate to a variable not a constant.

    Comment

    • Swati walia
      Senior Member
      • Sep 2016
      • 108

      #3
      An lvalue refers to an object that persists beyond a single expression. You can think of an lvalue as an object that has a name. All variables, including nonmodifiable variables are lvalues. An rvalue is a temporary value that does not persist beyond the expression that uses it.

      Comment

      Working...
      😀
      😂
      🥰
      😘
      🤢
      😎
      😞
      😡
      👍
      👎