Can I use "int" data type to store the value 32768? Why?

4 years ago
C Programming

No. "int" data type is capable of storing values from -32768 to 32767. To store 32768, you can use "long int" instead. You can also use "unsigned int", assuming you don't intend to store negative values.

0
Sanisha Maharjan
Jan 20, 2022
More related questions

Questions Bank

View all Questions