fork download
  1. #include <iostream>
  2. using namespace std;
  3.  
  4. int main() {
  5. // your code goes here
  6. int i = 10;
  7. int& j = i;
  8. int k = 20;
  9. j=k;
  10. cout << i << j << k;
  11.  
  12. return 0;
  13. }
Success #stdin #stdout 0.01s 5332KB
stdin
Standard input is empty
stdout
202020