C Programming

Hiiiiii Friends,

I created this blog to share my knowledge. Whenever i find something Interesting, i post it so that everyone may know about this.
If you like my posts then tell your friends and spread the knowledge.

Saturday, May 28, 2011

Which is the largest Data Type in C? And what is its Size?

long double is the largest data type in C.
Size of long double is:
10 byte on 16 bit compiler (Turbo C++ IDE)
12 byte on 32 bit compiler (GCC)
16 byte on 64 bit compiler (Not tested yet)

No comments:

Post a Comment