+ 1
Can we less number of values in array
if we declare an array with 5 values & if we initialize 4 values can exexcute or it shows error. EX: A[5]={1,2,3,4}; It shows or it executes
1 Respuesta
+ 1
If you initialize an array partially, the remaining slots are set to 0.
https://stackoverflow.com/questions/10828294/c-and-c-partial-initialization-of-automatic-structure