[IT] C언어 입문(6) Control flow, 제어흐름 - While문, For문, If문, do-while문 등 루프문
□ flow of control (control flow) * While Statement - while_statement ::= while (expr) statement 1. expr is evaluated 2. if it is nonzero(true), then statement is executed 3. Control is passed back to the beginning of the while statement - 'while' statement is executed repeatedly until expr is zero - example int i = 1, f = 1, n = 10; while(i i가 10이 될 때까지, 9번 루프 반복, f는 팩토리얼의 값을 나타냄, 9! * For State..
2021. 8. 24.