Integer data type storage allocations : Integer Family « Data Type « C Tutorial

C Tutorial
1. Language
2. Data Type
3. String
4. printf scanf
5. Operator
6. Statement
7. Array
8. Function
9. Structure
10. Pointer
11. Memory
12. Preprocessor
13. File
14. Data Structure
15. Search Sort
16. Wide Character String
17. assert.h
18. ctype.h
19. math.h
20. setjmp.h
21. signal.h
22. stdio.h
23. stdlib.h
24. string.h
25. time.h
26. wctype.h
Java
Java Tutorial
Java Source Code / Java Documentation
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
C# / C Sharp
C# / CSharp Tutorial
ASP.Net
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C++
C++ Tutorial
PHP
Python
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
C Tutorial » Data Type » Integer Family 
2. 7. 3. Integer data type storage allocations
Data TypeAllocationRange
signed char1 byte-2^7 to 2^7-1(-128 to 127)
Unsigned char1 byte0 to 2^8-1(0 to 255)
short2 bytes-2^15 to 2^15 -1 (-32768 to 32767)
Unsigned short2 bytes0 to 216 -1 (0 to 65535)
long int4 bytes2^31 to 2^31-1 (2,147,483,648 to 2,147,483,647)
int2 or 4 bytes depending on implementation


2. 7. Integer Family
2. 7. 1. Integer family
2. 7. 2. Float family (real numbers with decimal points)
2. 7. 3. Integer data type storage allocations
2. 7. 4. Using the integer conversion specifiers
2. 7. 5. Printing an unsigned integer in bits
w___ww.__ja__v_a__2___s___._c_o__m | Contact Us
Copyright 2003 - 08 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.