in Technology by (1.8m points)

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

1 Answer

0 votes
by (1.8m 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.

Related questions

0 votes
asked Oct 5, 2020 in Technology by JackTerrance (1.8m points)
...