Solved

What Will Be the Value Inside the Variables a and B

Question 15

Multiple Choice

What will be the value inside the variables a and b after the given set of assignments?
Int a = 20;
Int b = 10;
A = (a +B) / 2; b = a;
A++;


A) a = 15, b = 16
B) a = 16, b = 16
C) a = 16, b = 15
D) a = 15, b = 15

Correct Answer:

verifed

Verified

Unlock this answer now
Get Access to more Verified Answers free of charge

Related Questions