+ 2
Why this array overflow happening in c
2 Réponses
+ 4
U declared a[10] it usually means 10 contiguous memory blocks to store 10 integers but Because u tried to access the value at memory location that wasn't allocated...... results are unpredictable when u do this
+ 4
Sometimes it gives error like segmentation fault or may give garbage value