Solved

What Is the Value of Result After the Following Code \quad

Question 33

Multiple Choice

What is the value of result after the following code executes?
int a = 60;
int b = 15;
int result = 10;
if (a = b)
\quad result *= 2;


A) 10
B) 120
C) 20
D) 12
E) code will not execute

Correct Answer:

verifed

Verified

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

Related Questions