What is the output of the following code snippet?
public static int changeValue(int x) {
int y;
y = x + x;
return y;
}
public static void main(String args[]) {
int a = 5;
changeValue(a);
a = a + 2;
System.out.print("a = " + a + ", result = " + changeValue(a));
}