以下是引用Knocker在2010-1-23 20:00:21的发言:
#include <stdio.h>
#include <limits.h>
main()
{
int i = INT_MAX;
int k = INT_MIN;
unsigned n = INT_MAX;
printf("UINT_MAX = %u INT_MAX = %d INT_MIN = %d\n",UINT_MAX,INT_MAX,I ...
UINT_MAX = 4294967295
INT_MAX = 2147483647
INT_MIN = -2147483648
1.
n = 2147483647
i = 2147483647
k= -2147483648
2. n=abs(k)
n = 2147483648
3. i=abs(k)
i = -2147483648
Press any key to continue...
偶现在对楼主是否适宜学习C语言抱怀疑态度。。。。。。