#include <iostream> 

void set(int &a) 
{ 
  a = 10; 
} 

int main() 
{ 
  int x = 5; 

  set(x); 
  std::cout << x << std::endl; 
} 
