Ad

Chapter - 9: Arrays

What would happen if you put too few elements in an array when you initialize it?


Ad
G
Sections
3
Exercises

1. nothing
2. possible system malfunction
3. error message from the compiler
4. unused elements will be filled with 0’s or garbage 


Ans: 4. unused elements will be filled with 0’s or garbage.

Ad

© 2024 Garbage Valuegarbage value logo