(1)i++ 返回的是原来的值,++i返回的是加1后的值。 ( 2 ) i++返回的是个临时对象,只能作为右值,++i返回的是i的引用,是个左值。 i++类似于(temp = i, i = i+1, return temp;) ++i 类似于(i = i+1; return i ;)