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:

Verified
Correct Answer:
Verified
Related Questions
Q10: What will be the values of ans,x,and
Q11: What will be the values of ans,x,and
Q13: What will be the value of bonus
Q13: When testing for character values, the switch
Q14: What will be printed when the following
Q16: A block of code is enclosed in
Q17: What will be printed when the following
Q18: What will be the value of charges
Q20: What would be the value of discountRate
Q44: Which of the following expressions will determine