int x = 5;
int &y = x;
cout << "The value of x is " << x << endl;
cout << "The value of y is " << y << endl;
y++;
cout << "The value of x is " << x << endl;
cout << "The value of y is " << y << endl;
int& r = i;
Code Example |
---|
Cpp :: oncomponentendoverlap ue4 c++ |
Cpp :: hello world cc++ |
Cpp :: use of strstr in c++ |
Cpp :: C++ linked list iterator |
Cpp :: UENUM ue4 |
Cpp :: c++ get active thread count |
Cpp :: hierarchical inheritance in c++ employee |
Cpp :: how to write int variable c++ |
Cpp :: set size of a vector c++ |
Cpp :: creating node in c++ |
Cpp :: how to print items in c++ |
Cpp :: c++ random int troll |
Cpp :: c++ call by value |
Cpp :: c++ delete printed characters |
Cpp :: max heap insertion c++ |
Cpp :: Accessing C++ Array Elements |
Cpp :: time complexity of best sort algorithm |
Cpp :: ternary operator in c++ |
Cpp :: operator overloading in c++ |
Cpp :: array of charcter c++ |
Cpp :: enum in c++ |
Cpp :: use declaration to define a variable |
Cpp :: linkedlist in c++ |
Cpp :: Programming Languages codechef solution in c++ |
Cpp :: progress indicator raytracer |
Cpp :: c++ *agrs |
Cpp :: c++ graphics online compiler |
Cpp :: c++ copy vector |
Cpp :: sfml thread multi argument function |
Cpp :: 10^18 data type in c++ |