If matrix m is declared as int m[3][2]; and has been initialized to all 0's, what will be the contents of the matrix after executing the code fragment below, using the data shown?

```
int r, c;
for ( int i = 10; i < 13; ++i ) { Data: 1 1
cin >> r >> c; 2 0
m[r][c] = i; 0 1
}
```
What will be an ideal response?

```
0 12
0 10
11 0
```

Computer Science & Information Technology

You might also like to view...

The Files tab in SharePoint Online contains options for managing and editing your documents

Indicate whether the statement is true or false

Computer Science & Information Technology

A loop's ____ variable is a numeric variable that keeps track of the number of iterations the loop completes.

A. compound B. accumulated C. matrix D. control

Computer Science & Information Technology