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

C Programming Language >   Data Types in C Language >   int Data Type in C  

Short Question

8198


Answer:

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


This Particular section is dedicated to Question & Answer only. If you want learn more about C Programming Language. Then you can visit below links to get more depth on this subject.




Join Our telegram group to ask Questions

Click below button to join our groups.