32 bits or 4 bytes.
This depends heavily on the processor architecture your computer uses, AND the programming language you are using.
Typically, an integer is 1 word in length, however that processor architecture defines "word". That could be 32-bits (4 bytes), 64-bits (8 bytes), 8-bits (1 byte), or even 9 bits (in certain old computers).
A hexadecimal digit can store 16 different values, which requires 4 bits or 1/2 byte. Since we often can't split bytes in half, this would be rounded up to 1 byte to store 2 hexadecimal digits.
A float requires 32 bits in Java, which is equivalent to 4 bytes.
Try this:
printf ("In this platform an integer pointer uses %d bytes\n", (int) sizeof (int *));
Try this:
printf ("In this platform an integer uses %d bytes\n", (int) sizeof (int));
Depends how long the number is because if it is 0 or 1 your a beslubbering boil-brained whey-face!
Use sizeof(int) to find out. Most likely 2, 4 or 8.
sizeof (int). Often two or four.
4
four
A data type that can store integer numbers. The details vary depending on the programming language; many language have different integer types to accomodate different sizes. This lets the programmer use a smaller size (and save memory space) when he only needs to store fairly small numbers - and especially when he needs to store LOTS of fairly small numbers, as in an array. Common sizes include 1 byte, 2 bytes, 4 bytes and 8 bytes of storage.
how many bytes are there in a 64-bit machine? Another Answer: It takes 8 bytes to store a 64 bit number.
int *ptr = (int *)0x1234; *ptr = value; Note: NEVER do this.
Store the absolute value of the desired integer in a variable. Multiply the absolute value by two. Substract the new integer by the old integer.
4
integer data type consumes memory of 4 bytes or 32 bits
four
Different computer languages use different amounts of memory to store integers. For example, C++ uses a minimum of 4 bytes, Java a min of 8 bytes. A long integer is one which is requires more bytes than the standard amount. When the storage requirement gets to twice the standard amount, the number becomes a double integer.
40 bits or 5 byrtes
about eight bits, which is equal to one byte
A data type that can store integer numbers. The details vary depending on the programming language; many language have different integer types to accomodate different sizes. This lets the programmer use a smaller size (and save memory space) when he only needs to store fairly small numbers - and especially when he needs to store LOTS of fairly small numbers, as in an array. Common sizes include 1 byte, 2 bytes, 4 bytes and 8 bytes of storage.
1024 bytes is 8192 bits.
FAT32 uses a 32-bit unsigned integer to store the file size, and thus limits each file to 232-1 bytes in size.
how many bytes are there in a 64-bit machine? Another Answer: It takes 8 bytes to store a 64 bit number.
The amount of bytes required to store a pointer. Platform-dependent, often 2, 4 or 8.
float usually 4 double usually 8 long is 8 but integer, unlike double string is a pointer to a memory address containing array of chars, so it doesn't have a fixed size and a char is usually 1, but i think its 2 in java