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:

Verified
Correct Answer:
Verified
Related Questions
Q6: Which of the following is the correct
Q12: If str1 and str2 are both Strings,
Q33: In a switch statement, if two different
Q35: What would be the value of discountRate
Q40: An important style rule you should adopt
Q42: Which of the following will format 12.78
Q45: In an if/else statement,if the boolean expression
Q47: Which of the following is the correct
Q49: Which of the following will format .1278
Q58: What is the value of ans after