What happens if we partially intialize an array? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

What happens if we partially intialize an array?

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

19th Nov 2017, 10:12 AM
Anthem
Anthem - avatar
1 Answer
0
The value is indeterminate. It's like int a; what's the value of a? Indeterminate :-)
19th Nov 2017, 5:53 PM
Nadir SOUALEM
Nadir SOUALEM - avatar