0 votes
in C Plus Plus by

Is that possible to store 32768 in an int data type variable?

1 Answer

0 votes
by

 Int data type only capable of storing values between – 32768 to 32767. To store 32768 a modifier needs to use with the int data type. Long Int can use and also if there are no negative values unsigned int is also possible to use.

...