Question:Can you use “int” data type to store the value 32768? Why? 

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’t intend to store negative values. 

+ Report
Total Preview: 1309
Can you use “int” data type to store the value 32768? Why?
Copyright © 2024. Powered by Intellect Software Ltd