I\'m working with C, I have to do an exercise in which I have to print the value of long double min and long double max.
I used float
From this reference on the lfoating point types:
long double- extended precision floating point type. Matches IEEE-754 extended floating-point type if supported, otherwise matches some non-standard extended floating-point type as long as its precision is better thandoubleand range is at least as good asdouble, otherwise matches the typedouble. Some x86 and x86_64 implementations use the 80-bit x87 floating point type.
Added emphasis is mine.
What the above quote says is that while a compliant C compiler must have the long double type, it doesn't really have to support it differently than double. Something which is probably the case with the Visual Studio C compiler.