0
What we will do if the range of the input data is greater then the capacity of the declared variable
For example int has a range of 32,767 to 32,767 if the output is greater than range of int what we will do
3 Réponses
+ 1
Well, simple answer, you 'll get a bad result as negative number. This is named as overflow error.
But, for happy, in the modern compilators C++ for 32/64 bit procesors there is not range of int -32,767 to +32,767, but longer, –2,147,483,648 to 2,147,483,647.
+ 1
Circular queue
0
yes