unsigned int i =10; for(i;i > 0; i--) { xxxxx } 因为i是unsigned int 类型的,永远不可能小于0,也就是说是个死循环了。 转载于:https://www.cnblogs.com/superPerfect/p/3710348.html