- Data :-
- Data Type 'int' :
The 'int' data type is used to store whole values. It takes 2 bytes in memory. The 'int' type variables can store values from -32768 to 32767 (-215 to 215 -1). If a value greater then 32767 is assigned to an 'int' type variable then correct value will not be assigned (or fit) in the memory allocated to that variable. This condition is called integer overflow. When overflow occurs, the program continues to run but it produces incorrect result.