QUESTION 11
What is y after executing the statements?
x = 4,
y = x + 1;
y = y * 2;
a. 6
b. 8
c. 10
d. 12
QUESTION 12
Which is a valid definition for a function that passes two integers (a, b) as arguments, and returns an integer?
a. int MyFunction(int a, int b)
b. int MyFunction(a, b)
c. void MyFunction(a, b)
d. int MyFunction(int a, int b)