Talking City



Go Back   Talking City > Coding and Programming > Other Languages
FAQ Members List Calendar Search Today's Posts Mark Forums Read


Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 10-27-2016, 04:25 PM
priya.sharma priya.sharma is offline
Senior Member
 
Join Date: Aug 2016
Posts: 100
priya.sharma is on a distinguished road
Default Lvalue And Rvalue?

What is lvalue and rvalue?

Reply With Quote
  #2  
Old 11-04-2016, 05:47 PM
aarohi aarohi is offline
Member
 
Join Date: May 2015
Posts: 71
aarohi is on a distinguished road
Default

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.
Reply With Quote
  #3  
Old 11-23-2016, 09:05 AM
Swati walia Swati walia is offline
Senior Member
 
Join Date: Sep 2016
Posts: 108
Swati walia is on a distinguished road
Default

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.
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off


All times are GMT +5.5. The time now is 03:29 PM.


Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
Talking City Managed by Megrisoft