Example 1View more random threads:
- define abstraction in c++ 2011
- # include main() { cout<< "How are u? welcome to my...
- when user enter 6 number guessing game of tossing coin
- f i use hints for book ie(c++ How to Program 5th Edition)...
- AVL tree, It must satisfie the 2 conditions.
- Here is a chunk of code prototype of Library Managment...
- what are subtyping and specilization?
- The use of Function templates in C++ and C, java, php 2011
- What is generalization in c++ 2011
- something is wrong with this version of dev c++
int age; // variable set up
then later in the program
age = 39;
The value 39 is pulled or fetched (Rvalue) and stored into the variable named age (Lvalue); destroying the value previously stored in that variable.
Example 2
int age; // variable set up
int voting_age = 18; // variable set up with initialization
then later in the program
age = voting_age;
The value 18 is pulled or fetched from the variable named voting_age and stored into the variable named age is an example of r-value.
Sponsored Links
There are currently 1 users browsing this thread. (0 members and 1 guests)