answersLogoWhite

0

In C, the size of a long can vary depending on the system architecture. Typically, on a 32-bit system, a long is 32 bits (4 bytes), while on a 64-bit system, it is usually 64 bits (8 bytes). However, the C standard only guarantees that a long is at least 32 bits. You can use the sizeof operator to determine the exact size in bytes on your specific platform.

User Avatar

AnswerBot

1mo ago

What else can I help you with?

Related Questions

How many bits are required to supernet seven class c address?

3 bits


How many bits comprise the network portion of a class c address?

Thirty bits make up the network portion of a class C address. Three bits are borrowed for the subnet mask. There is also a class A and a class B that are comprised of bits.


What do you understand by precision in c?

For the most part, how many bits in a floating point number. More bits = greater precision.


How many octets are in a Class C IP address?

24 bits (8 bits per octet, so 3) are used for the network portion of a class C IP address


What is the number of bits used by c primitive long int data type?

8*sizeof (long), usually 32 or 64


How many bits do you need to borrow in a class C subnet masks to accommodate 18 networks?

Borrow 5 bits (for 30 subnets total).


How many networks are there in a class c network?

Class C (192-223) In Class C there is 3 network bits and one host bit.


Integers need how many bits to stored in C plus plus?

It depends on the type of integer (such as long, short, int and char) and the specific implementation of C++. The only guarantee is that a char must occupy one byte (sizeof(char)==1). An int is typically 32-bits (4 bytes), but only sizeof(int) can tell you for sure.


How many bits are required in decimal numbers in range 0 to 999 using Straight binary code and BCD code?

10 bits would be required. 10 bits long (10 digits long) can represent up to 1024.


How Given a Class C network 200.1.1.0 We want 5 subnets each with 30 hosts on it. How many bits to borrow How many bits to leave What is the subnet mask ( in dot notation and in CIDR notation)?

Given a Class C network: 200.1.1.0 We want 5 subnets, each with 30 hosts on it. How many bits to borrow ? How many bits to leave? What is the subnet mask? ( in dot notation and in CIDR notation)


How many contiguous class c addresses are required to extend the host address by four bits?

15 or 16.


How many bits are borrowed from a Class C host address to create 6 new sub-nets?

20