sigma1 |- c = a + b ==> sigma2(that is, where the assignment c = a + b transforms state sigma1 to sigma2)? If so, write sigma2 explicitly as a set of pairs. {(a, 3), (b, 4), (c, 7)}
void p(int & x, int & y){ x = x + 1; y = y + 1; }What is the value printed by the following fragment of code, given the above declaration?
int z = 1; p(z,z); cout << z;3