If an array named num is dimensioned to hold 10 values, what happens if you write num[100] = 50;?

A. A compilation error will be generated
B. A runtime error will be generated
C. 50 will be stored at the 100th indexed location
D. 50 will be stored at the last legal location


Answer: B

Computer Science & Information Technology

You might also like to view...

When you add bones to a symbol instance or to a shape, the instance or shape and its armature are moved to a new layer called a ____ layer.

A. leaf B. pose C. ligament D. skeletal

Computer Science & Information Technology

The law of ________ holds that some information is protected by law from being released

Fill in the blank(s) with correct word

Computer Science & Information Technology

It is impossible to create a data table from random, unorganized data.

Answer the following statement true (T) or false (F)

Computer Science & Information Technology

Describe the divide and conquer method for tackling multiple options.

What will be an ideal response?

Computer Science & Information Technology