Explain overflow with example | Sololearn: Learn to code for FREE!
Nouvelle formation ! Tous les codeurs devraient apprendre l'IA générative !
Essayez une leçon gratuite
0

Explain overflow with example

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