What is the value of result after the following code executes?

int a = 60;
int b = 15;
int result = 10;
if (a = b)
result *= 2;

a. 10
b. 120
c. 20
d. 12
e. code will not execute

c. 20

Computer Science & Information Technology

You might also like to view...

You can hold down the ____ key to select more than one field in a report.

A. Home B. + C. Shift D. Alt

Computer Science & Information Technology

The STS-1 signaling level supports ____ frames per second.?

A. ?8000 B. ?16000 C. ?32000 D. ?64000

Computer Science & Information Technology