Explain overflow with example | Sololearn: Learn to code for FREE!
Neuer Kurs! Jeder Programmierer sollte generative KI lernen!
Kostenlose Lektion ausprobieren
0

Explain overflow with example

9th Oct 2017, 11:46 AM
Prashant Kumar
Prashant Kumar - avatar
1 Antwort
0
Let A[] be an array of size 10. If you want to add one more value to A[], then this will result in error. This condition leads to Overflow when your array can't take more value then actual size.
9th Oct 2017, 1:53 PM
kanishk goel
kanishk goel - avatar