What is the value of sum after execution of this code fragment?

```
sum = 0;
for (int i = 0; i < 3; ++i)
sum += m[i][2-i];
```

a. 20
b. 30
c. 15
d 39

b. 30

Computer Science & Information Technology

You might also like to view...

When you ________ an external table, you connect to the table without actually importing the table's data

A) link B) embed C) join D) associate

Computer Science & Information Technology

A(n) __________ is a collection of data with a name which is saved on a computer’s storage medium.

Fill in the blank(s) with correct word

Computer Science & Information Technology