Solved

What Will Be the Value of X After the Following

Question 44

Multiple Choice

What will be the value of x after the following code is executed?
int x = 10, y = 20;
While (y < 100)
{
X += y;
}


A) 90
B) 110
C) 210
D) this is an infinite loop

Correct Answer:

verifed

Verified

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

Related Questions