摘要:
有下面两行代码:for(int i=0; i<0xFFFFFFFF; ++i);for(char ch=0; ch<0xFF; ++ch);第一行代码不会陷入死循环,第二行代码则会死循环。如果不明白,看了下面的内容,你应该就了解了:整型常量的类型The data type of an integer literal is determined by its form, value, and suffix.The following table lists the integer literals and shows the possible data types. The smal 阅读全文
posted @ 2012-05-07 23:11
莫贰
阅读(655)
评论(0)
推荐(0)
浙公网安备 33010602011771号