Solved

What Will Be the Value of Ans After the Following

Question 62

Multiple Choice

What will be the value of ans after the following code has been executed?
Int ans = 10;
Int x = 65;
Int y = 55;
If (x >= y)
Ans = x + y;


A) 10
B) 120
C) 100
D) No value, there is a syntax error.

Correct Answer:

verifed

Verified

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

Related Questions