<分区>
Possible Duplicate:
How would you set a variable to the largest number possible in C?
我们可以在 C 语言中找到数据类型的最大大小吗?
标签 c
<分区>
Possible Duplicate:
How would you set a variable to the largest number possible in C?
我们可以在 C 语言中找到数据类型的最大大小吗?
最佳答案
如果您想知道可以存储在给定数据类型的变量中的最大值和最小值,您可以检查这些不同的常量:
LONG_MIN,LONG_MAX,见here , 剩下的。
关于c - 有什么方法可以找到数据类型的最大大小?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/3637594/