9. What's the minimum value that a type int variable can hold?
If "minimum" means minimum magnitude, any int variable can hold the value 0.
If "minimum" means the most negative number, every (signed) int should be able to hold at least the value -32768. Some implementations might be able to hold numbers more negative than that.
No comments:
Post a Comment