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 happens if you free a pointer twice?

1054


What oops means?

987


Do you know null pointer?

1011


List some applications of c programming language?

946


Should I learn data structures in c or python?

1006


I came across some code that puts a (void) cast before each call to printf. Why?

1199


What is the maximum length of an identifier?

1177


In C programming, how do you insert quote characters (‘ and “) into the output screen?

1511


What is a pointer and how it is initialized?

1140


How many types of arrays are there in c?

1026


C program to find all possible outcomes of a dice?

2331


Explain is it valid to address one element beyond the end of an array?

1191


What is the modulus operator?

1186


In which header file is the null macro defined?

1334


Why do we use main function?

1163