Solved

What Will Be the Value of X After the Following

Question 28

Multiple Choice

What will be the value of x after the following code is executed? int x = 10;
For (int y = 5; y < 20; y +=5)
X += y;


A) 40
B) 25
C) 30
D) Invalid for statement

Correct Answer:

verifed

Verified

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

Related Questions