Solved

What Will Be the Value of Result After the Following \quad

Question 51

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)
\quad result *= 2;


A) 10
B) 120
C) 20
D) This code will not compile

Correct Answer:

verifed

Verified

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

Related Questions