Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

why integer range between -327680to+32767

Answer Posted / jim

Question is in error! It should read -32768 to 32767.

An unsigned 16-bit value ranges from 0...65535.
In Hex 0...FFFF

A signed 16-bit value ranges from -32768 ... 32767
In hex 8000...7FFF

Just as 0 is 0, 1 is 1, 7FFF is 32767, FFFF is -1,
8000 is -32768.

So...
8000 FFFE FFFF 0 0001 0002 7FFF
-32768 -2 -1 0 1 2 32767

Is This Answer Correct ?    22 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the value of c?

1031


Why we use int main and void main?

1041


In which layer of the network datastructure format change is done

1846


Differentiate fundamental data types and derived data types in C.

999


What is structure in c language?

1121


Write a program to print fibonacci series using recursion?

1023


What is the advantage of a random access file?

1150


What does %2f mean in c?

1174


What is meant by high-order and low-order bytes?

1012


What do you mean by a local block?

1049


Can the “if” function be used in comparing strings?

999


What is stack in c?

1041


What is meant by gets in c?

1120


What’s a signal? Explain what do I use signals for?

1074


Can I use base-2 constants (something like 0b101010)? Is there a printf format for binary?

971