What type of error will this code produce?

```int x[60], i;
for(i = 0; i <= 60; ++i)
{
x[i] = i;
}```
A. A compiler error will report an array out of bounds error.
B. A compiler error is generated since the array is not declared correctly.
C. A run time error may occur because we are out of bounds on the array.
D. Two of these are correct.


C

Computer Science & Information Technology

You might also like to view...

A(n) _____ is an outsourcing fee model that charges a variable fee based on the volume of transactions or operations performed by the application.

A. method model B. administrative model C. usage model D. interpolated model

Computer Science & Information Technology

Extra space between lines of text within a document can be removed by using the ________ button

A) Remove spacing B) Compact text C) Spacer D) No spacing

Computer Science & Information Technology

Using a value of ____ for the mode argument of the fopen() function opens the specified file for reading and writing and places the file pointer at the end of the file.

A. w B. r C. r+ D. a+

Computer Science & Information Technology

The invention and evolution of the Transmission Control Protocol/Internet Protocol (TCP/IP) protocol suite resulted from a coordinated effort by the U.S. ____.

A. DOD B. SRI C. UCLS D. IEEE

Computer Science & Information Technology