#include #include // for limits on integer types #include // for limits on floating-point types void main() { printf("char stores values from %d to %d\n", CHAR_MIN, CHAR_MAX); printf("\n"); printf("int stores values from %d to %d\n", INT_MIN, INT_MAX); printf("\n"); printf("Smallest non-zero value of type float is %e\n", FLT_MIN); printf("Largest value of type float is %e\n", FLT_MAX); printf("Smallest value of type float is %e\n", -FLT_MAX); printf("Smallest non-zero addition value of type float is %e\n", FLT_EPSILON); printf("\n"); printf("Smallest non-zero value of type double is %e\n", DBL_MIN); printf("Largest value of type double is %e\n", DBL_MAX); printf("Smallest value of type double is %e\n", -DBL_MAX); printf("Smallest non-zero addition value of type double is %e\n", DBL_EPSILON); printf("\n"); }