Overflow and Underflow in C++

Get Into Code provides you with free C++ and Java Course in Hindi/Urdu and also provides you the opportunity to practice your skills to be perfect. In the previous video we have discussed about the Taking Input in C++. In this video we are going to discuss about Overflow and Underflow in C++.
Overflow
The word Overflow clearly shows that the data you enter to any of the variable is over the range of the container and now data is overflowing from container. When you entered the number greater than its maximum range then the data will move towards its minimum value.  
Underflow
Underflow will occur when your entered data or number is lower than from minimum range. When your entered data Exceeded from minimum value than it will move towards its maximum value.

Watch The Video Below to Understand Overflow and Underflow in C++

No comments

Powered by Blogger.