Chapter 4 : Strings and Formatted Input/Output

#include <stdio.h>
#include <limits.h>
#include <float.h>

int main(void) {
    printf("Some number limits for this system:
");
    printf("Biggest int: %d.
", INT_MAX);
    printf("Smallest long long: %lld.
", LONG_MAX);
    printf("One byte = %d bits on this system.
", CHAR_BIT);
    printf("Largest double: %f
", DBL_MAX);
    printf("Smallest normal float: %e
.", FLT_MIN);
    printf("float precision = %d digits
", FLT_DIG);
    printf("float epsilon = %e
", FLT_EPSILON);
    return 0;
}
苟利国家生死以, 岂因祸福避趋之
原文地址:https://www.cnblogs.com/chintsai/p/10291568.html