Thanks
When you declare a variable of type int in C, what values does that include? 0-?
It depends on the computer you are running on.
an int on a 32 bit computer includes all numbers between
-2147483647 and 2147483647 (Decimal)
The best way to know though is to use MIN_INT and MAX_INT from limits.h. It will adjust for 64 bit computers and even 16 bit computers if you are running on an embedded system.
Reply:Whole Real numbers
Reply:It depends on the number of bits. The largest positive integer is 2^(n-1)-1.
Reply:Sorry I don't know what exactly you are asking. Can you email me at Armygrl_23@yahoo.com and explain your question
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment