|
|
v3=v1 * (v2=6)
mean?int v1 = 7
is saying v1 holds the value 7int v2 = 5
is saying v2 holds the value 5int v3 = 0
is saying v3 holds the value 0v3 = v1 * (v2 = 6);
is saying v3 = the value of : v1 * 6, v1 currently holds the value 7, so v3 = 7 * 6 which is 42.cout << v3 << endl;
will display 42.