Question: What happens when an array declaration statement does not provide an initial value for each of the elements in a numeric array? a . The

What happens when an array declaration
statement does not provide an initial value
for each of the elements in a numeric
array?
a. The compiler automatically
initialises the elements, so the
array elements contain 0.
b. The compiler does not
automatically initialise the
elements, so the array elements
may contain garbage.
c. The compiler automatically
initialises the elements with 1.
d. The compiler automatically
initialises the elements with 0.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!