answersLogoWhite

0

It depends on the language. In C/C++, decimal values are specified using float, double or long double types. A float is a single precision floating point value that is typically 32-bits in length, however the actual length is implementation dependant. A double is always at least as long as a float while a long double is always at least as long as a double. To determine the actual length at compile time, we use the sizeof() operator.

User Avatar

Wiki User

10y ago

What else can I help you with?

Related Questions

How many bytes is a double variable?

There are 8 bytes in a double


'How many bytes is a float variable'?

4


How many bytes take an integer variable in C under windows?

A plain integer variable in C under windows is 2 bytes in 16 bit windows, and 4 bytes in 32 bit windows.


How many bytes in an address of an int variable?

32 bits or 4 bytes and an int is not an address, it is a primitive so it directly access the data without a reference.


Why 1024 bytes rounded to 1000 bytes?

1024 bytes is binary counting while 1000 bites is decimal counting.


Define pointer in C?

Pointer is a variable, A variable that stores the address of another variable. Size of a pointer is 2 bytes.


What is 1 gigabyte in decimal?

The way "gigabyte" is usually used, it means 10243 bytes. In other words, 1,073,741,824 bytes.


How many bytes in a 6gb flash drive?

A 6 GB flash drive contains approximately 6 billion bytes. More precisely, since 1 gigabyte (GB) is equal to 1,073,741,824 bytes (using the binary definition), a 6 GB flash drive would have about 6,442,450,944 bytes. However, in decimal terms, it is often rounded to 6,000,000,000 bytes.


How many bytes is an integer variable?

It depends on the context. Each database and computer language define an "integer". In the C language an integer is defined by the hardware. It can vary from 2 to 8 bytes or more.


What is a zettabyte?

A zettabyte is a massive amount of bytes and referencing from wikipedia (yes it is correct) it is 1,000,000,000,000,000,000,000 bytes in decimal or 1021


How many is 1gb?

1073741824 bytes or 10243 bytes or 230 bytes


How many bytes are thre in one kilo- Bytes?

1024 bytes