Control Flow 제어문 statement와 block x = 0 i++ printf(...) 와 같은 것에 ;이 붙으면 문장(statement)가 된다. {}는 declaration과 statement를 한 곳에 모아준다. 이를 compound statement 혹은 block이라고한다. block은 하나의 statement와 동일하게 취급한다. 그래서 for, if while, else 등에 쓰이는 {}에는 ;이 안붙는 것이다. If - else문 if (expression) statement1 else statement2 다들 알다시피 expression이 맞으면 statement1이 동작하고 아니면 statement2가 동작한다. 물론 else문은 넣어도 되고 안넣어도 된다. 참고로 expr..