#include <iostream>using namespace std; int main() { int x=5,b=10; int& r=x; r=b; cout<<x<<b; return 0;}
Standard input is empty
1010
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!