Categories:
.NET (357)
C (330)
C++ (183)
CSS (84)
DBA (2)
General (7)
HTML (4)
Java (574)
JavaScript (106)
JSP (66)
Oracle (114)
Perl (46)
Perl (1)
PHP (1)
PL/SQL (1)
RSS (51)
Software QA (13)
SQL Server (1)
Windows (1)
XHTML (173)
Other Resources:
How do you decide which integer type to use?
How do you decide which integer type to use?
✍: Guest
It depends on our requirement. When we are required an integer to be stored in 1 byte (means less than or equal to 255) we use short int, for 2 bytes we use int, for 8 bytes we use long int.
A char is for 1-byte integers, a short is for 2-byte integers, an int is generally a 2-byte or 4-byte integer (though not necessarily), a long is a 4-byte integer, and a long long is a 8-byte integer.
2012-03-05, 2864👍, 0💬
Popular Posts:
What's difference between HashTable and ArrayList ? You can access array using INDEX value of array,...
How To Compile a JUnit Test Class? Compiling a JUnit test class is like compiling any other Java cla...
How To Run "mysql" Commands from a Batch File? - MySQL FAQs - Command-Line End User Interface mysql ...
How To Get the Uploaded File Information in the Receiving PHP Script? Once the Web server received t...
What is the value of this expression? +1-2*3/4 -0.5