Home / Questions / Can I use "int" data type to store the value 32768? Why?
Explanatory Question

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

👁 8,117 Views
📘 Detailed Answer
🕒 Easy to Read
Read the answer carefully and go through the related questions on the right side to improve your understanding of this topic.

Answer with Explanation

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