What type of error will this code produce?
```int x[10][20], i, j;
for(i = 0; i < 20; ++i)
{
for(j = 0; j < 10; ++ j)
{
x[i][j] = i*j;
}
}```
A. A compiler error will report that the program is not accessing the array correctly.
B. There are no errors of any kind with this code.
C. A run time error may occur because row and column values are not correct.
D. Program crashes due to an unhandled exception.
C
Computer Science & Information Technology
You might also like to view...
Which type of program takes advantage of automatic recalculation and what-if analysis?
a. spreadsheet c. CAD/CAM b. database d. project management
Computer Science & Information Technology
When filling out a form on the Web, the test to tell computer and humans apart is known as a(n):
A) CAPTCHA B) SMTP C) UCE D) POP3
Computer Science & Information Technology