Solved

What Will Be the Value of Ans After the Following

Question 8

Multiple Choice

What will be the value of ans after the following code has been executed?
Int x = 90, y = 55, ans = 10;
If ( x == y) ;
Ans *= 2;


A) 10
B) 145
C) 20
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