There are 8 bytes in a double
eight bytes in most popular system
2
A plain integer variable in C under windows is 2 bytes in 16 bit windows, and 4 bytes in 32 bit windows.
Int: 4 bytes Float: 4 double: 8 char: 1 boolean: 1
It completely depends the datatype that you have assigned for the variables 'a' , 'b' , and 'c'. Check the compiler that you are using for the size of the datatype in bytes. Add them and thus you will get the answer.
The number of bytes occupied by a specific data type depends on the implementation. In general, the double data type is eight bytes long, but you can check it using sizeof(double). In 16-bit,32-bit compilers double size is 8 bytes.It looks like float because it stores scientific and financial like big float values.
The total number of bytes allocated to the union will be the same number as would have been allocated if instead of the union was declared the largest member of the union. For example, if you declared: union myUnion { char c; int i; double d; } u;, then the space allocated to u will be the size of a double.
A double byte is two bytes.
The storage size of an int in C is loosely defined, and may be either 2 bytes or, more commonly, 4 bytes. Whether or not it is defined as const won't affect the size.
it is a sequence of bytes
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.