Explain overflow with example | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Explain overflow with example

9th Oct 2017, 11:46 AM
Prashant Kumar
Prashant Kumar - avatar
1 Answer
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