Contact: aviboots(AT)netvision.net.il
39,855 questions
51,776 answers
573 users
#include <iostream> int main() { int a = 7; int& ref = a; std::cout << a << " " << ref << '\n'; ref = 2; std::cout << a << " " << ref; } /* run: 7 7 2 2 */