The set of datatypes and the definition of each member is dependent on hardware, the language standard, and the language implementation. Not knowing which language the question relates to is particularly limiting.
In Java, a long consists of 8 bytes. This is also generally true for C and C++, depending upon the compiler used. See the related links for further details.
The length of a long in C++ is implementation-defined. It is guaranteed to be at least as long as an int. The following shows the relationship between the integer type lengths.
CHAR_BITS = number of bits in a byte; implementation-defined (at least 8 bits)
sizeof (char) = 1 (byte)
sizeof (short) >= sizeof (char)
sizeof (int) >= sizeof (short)
sizeof (long) >= sizeof (int)
sizeof (long long) >= sizeof (long)
For portability, always use the sizeof() operator to obtain type lengths. If you require an integer with a specific bit length across all platforms, use the fixed-width integer types found in the
8 bytes.
The sizeof long int is platform-dependent, often 4 bytes or 8 bytes.
There are 8 bytes in a double
sizeof (long) and sizeof (short) often 4 or 8 for long, and 2 for short
how many bytes are there in a 64-bit machine? Another Answer: It takes 8 bytes to store a 64 bit number.
640 x 1024 x 1024 bytes (data transfer) 640 x 1000 x 1000 bytes (storage)
53 bytes long
A Mac address (Media Access Control address) is 48 bits long, which is equivalent to 6 bytes.
it depends on how long the word is
The word: microprocessors, is 15 characters long, and would need a minimum of 15 bytes to store as ASCII. Some systems may need additional bytes to indicate that text is stored there, or how long the text field is, though.
1073741824 bytes or 10243 bytes or 230 bytes
1024 bytes
536870912 Bytes
1024 bytes
The sizeof long int is platform-dependent, often 4 bytes or 8 bytes.
how many bytes are needed to structure PCB Also explain different purposes of these bytes
128 megabytes equals 134,217,728 bytes.
125000 bytes Wrong. 1MB has 1048576 bytes.