What is the size of long double data type | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

What is the size of long double data type

1st May 2018, 1:17 AM
Abhishek Tiwari
Abhishek Tiwari - avatar
3 Answers
+ 3
Source: The open web Type long double is a floating point type that is larger than or equal to type double. size : 8 bytes ( seems like i was wrong earlier ) The size of variables might be different depending on the compiler and the computer you are using.
1st May 2018, 2:06 AM
Rahul George
Rahul George - avatar
+ 2
In fact, this is platform (and compiler, and language in fact) dependent parameter. You can measure it on your machine and then relay to this value.
1st May 2018, 2:45 AM
Nevfy
+ 1
i studied about 16 bytes and the compiler is showing 8 bytes and now your answer
1st May 2018, 1:26 AM
Abhishek Tiwari
Abhishek Tiwari - avatar