What happens if we partially intialize an array? | SoloLearn: Learn to code for FREE!

+2

What happens if we partially intialize an array?

If we partially intialize an array then the uninitialized subscript contains zero.

11/19/2017 10:12:11 AM

Saurabh Chaudhary

1 Answer

New Answer

0

The value is indeterminate. It's like int a; what's the value of a? Indeterminate :-)