int a; unsigned int b; printf("%d %d\n", a>=0 && ~a>=0, b>=0 && ~b>=0); 转载于:https://www.cnblogs.com/J2EEPLUS/archive/2011/11/09/2487983.html