Given the array declaration below, what is stored in numbers[2] ?
?
int numbers[5] = {0};

What will be an ideal response?

Provided you code at least one value in the initialValues section (as shown in the declaration), most C++ compilers would initialize the uninitialized array elements to 0. Therefore, the answer would be 0.

Computer Science & Information Technology

You might also like to view...

The process of modifying a presentation by adding and deleting slides or by changing the contents of individual slides is referred to as:

a. Editing b. Formatting c. Aligning

Computer Science & Information Technology

A ________ is a group of related classes in the Framework Class Library.

a) classpace b) directory c) namespace d) cluster

Computer Science & Information Technology