61.3k views
25 votes
How many bits and bytes are occupied by six long variables​

1 Answer

3 votes

Answer:

24 bytes = 192 bits

Step-by-step explanation:

A long is typically 4 bytes or 4*8 = 32 bits

However, on some 64 bit systems, a long is defined as 64 bits so the answer is not universal.

User Jluzwick
by
4.9k points