++n 等价于 n = n+1 。%3d\t ,%3d 是输出整形数占3位,靠右对齐,\t 是跳格。 i++ 等价于 i = i + 1。++ i 前置和 i ++ 后置的区别是: ++ i 在前,先自增 i = i+1 再使用 i ,i ++ 置后是先使用 i 再自增 i = i + 1。