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...
Add a field to the SlideShow class to hold the title and modify the show method to first show a blank picture with the title on it.
What will be an ideal response?
Computer Science & Information Technology
A PowerPoint presentation is an electronic slide show that can be edited or delivered in different ways
Indicate whether the statement is true or false
Computer Science & Information Technology
Word provides ________ built-in styles for paragraph spacing
A) four B) six C) seven D) eight
Computer Science & Information Technology
The minus sign is used to collapse the contents of a folder
Indicate whether the statement is true or false
Computer Science & Information Technology