What type of error will this code produce?
```
int n[30], i;
for(i = 0; i <= 30; ++i)
n[i] = i;
```
A. No compiler errors will be reported.
B. A compiler error is generated since there are no braces {} with the for loop.
C. A run time error may occur because we are out of bounds on the array.
D. Both A and C are correct.
D. Both A and C are correct.
You might also like to view...
A _____ attack is designed to generate a lot of activity on a network by flooding it with useless traffic-enough traffic to overwhelm the network's processing capability and essentially bring all communications to a halt.
A. rampage B. mass-mailing C. denial of service D. stampede
Computers work only with ________
A) letters and symbols B) binary numbers C) hexadecimal numbers D) decimal numbers
Are all websites that use HTTPS considered trustworthy?
What will be an ideal response?
A ____ is a term that describes objects with common attributes.
A. relationship B. case C. class D. method