ask what you need , share what you know !

Ask questions here , and get answers from Geniuses like you...



Prevention is better than cure !, First Read our safety tips...
tab1 tab2
tab1 tab1

Welcome, Its Your Area



  
Create an account
I forgot my Password ?
MyBuddies Chat Room
About Today

Top 10 Answer Geniuses

  1. tharshan - 1441pts
  2. bera - 532pts
  3. jey - 510pts
  4. brown - 367pts
  5. julian - 157pts
  6. wajira - 143pts
  7. winx - 89pts
  8. djzmo - 88pts
  9. ady - 84pts
  10. jawan - 71pts

Question Categories

  • Arts & Humanities
  • Beauty & Style
  • Business & Finance
  • Cars & Transportation
  • Computers & Internet
  • Consumer Electronics
  • Dining Out
  • Education & Reference
  • Entertainment & Music
  • Environment
  • Family & Relationships
  • Food & Drink
  • Games & Recreation
  • Health
  • Home & Garden
  • Local Businesses
  • News & Events
  • Pets
  • Politics & Government
  • Pregnancy & Parenting
  • Science & Mathematics
  • Social Science
  • Society & Culture
  • Sports
  • Travel
  • AnswerG Help Topics
Question Details , Asked By : jey
User Avator

What is the range of integer?


I have not entered any detailed info...
 
 
by jey In Arts & Humanities , On Date : 2008-10-08 02:52:08
       

Wow! , around 3 answers received til now...

Question Closed, Best Answer - Picked By Asker

User Avatar
brown
signed: -2147483648 to 2147483647
unsigned: 0 to 4294967295
Answer Source :
from my C++ note book.
Comments From Asker :
Thanks for your answer !

Other Answers

User Avatar
djzmo
To tharshan:
- The integer data type is available to many programming languages, not only available to C++.
 
User Avatar
tharshan
i think u are asking about c++ ?
be more specific. when asking questions.

The integer data type can only represent whole numbers but they are stored exactly in all circumstances. Integers are often used to count discrete objects such as elements of an array, characters in a string, or iterations of a loop.

The range of numbers covered by the integer type is system-dependent. The majority of computers use 32 bits for their integer arithmetic (1 bit for the sign and 31 for the magnitude) giving a number range of -2,147,483,648 to +2,147,483,647.
Some systems have an even larger integer range but a few very small systems only allow 16-bit integer arithmetic so that their integer range is only -32,768, to +32,767.

anyways..
see the links below too.
Answer Source :
http://en.wikipedia.org/wiki/Integer_(computer_science)
 
AnswerG Knowledge Base - Simplified Version - Chat Room - RSS Feeds - About Us - Help - Privacy Policy - Safety Tips  - Feedback  - Beta Stats Report
Copyright © 2008 AnswerG.Com Knowledge Base, All Rights Reserved.
We cannot evaluate or guarantee the accuracy of any AnswerG contents , these are posted and maintained by AnswerG community.