+1 vote
in Technology by (1.7m points)

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

1 Answer

0 votes
by (1.7m points)

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