Multiple Choice
What will be the value of result after the following code has been executed?
int a = 60;
int b = 15;
int result = 10;
if (a = b)
result *= 2;
A) 10
B) 120
C) 20
D) This code will not compile
Correct Answer:

Verified
Correct Answer:
Verified
Related Questions
Q4: When a relational expression is false, it
Q18: What is the value of the following
Q25: Whereas < is called a relational operator,
Q39: Relational operators allow you to _ numbers.<br>A)
Q40: This operator represents the logical AND:<br>A) ++<br>B)
Q44: What is the output of the
Q46: The default section of a switch statement
Q48: What is the value of donuts
Q49: What is the value of the following
Q53: This is a variable, usually a boolean