}
for(...)
{
程序块
2、大括号的位置
一般情况下,有下列几种书写方式:
(1)
if(x>y)
t=x;x=y;y=t;
(2)Kernighan 和 Ritchie 的经典方式
if(x>y){