版权声明:作者微信 2992860292, QQ同号 https://blog.csdn.net/qq_40723748/article/details/85800487
#include <stdio.h>
#include <limits.h>
#include <float.h>
int main(void) {
printf("Some number limits for this system:\n");
printf("Biggest int: %d.\n", INT_MAX);
printf("Smallest long long: %lld.\n", LONG_MAX);
printf("One byte = %d bits on this system.\n", CHAR_BIT);
printf("Largest double: %f\n", DBL_MAX);
printf("Smallest normal float: %e\n.", FLT_MIN);
printf("float precision = %d digits\n", FLT_DIG);
printf("float epsilon = %e\n", FLT_EPSILON);
return 0;
}