Posts
All the articles I've posted.
-
[C] If, For, While, and Switch
If statement is composed of conditional decision statement and execution statement. If the conditional expression in If is true, the subsequ...
-
[C] If, For, While, and Switch 문
If문은 조건 판단문과 실행문으로 구성된다. If안의 조건식이 참이면 이후 실행문을 수행하고 거짓이면 실행하지 않는다. If와 함께 사용되는 else는 If 조건식이 거짓일때, 혹은 상위 조건식이 실행되지 않으면 수행된다. 여러 조건을 탐색하는 경우,...
-
[C] Relational, logical, and ternary operators
In c language, True / False corresponds to nonzero and zero, respectively. Conditional expressions that judge true/false through operators a...
-
[C] Declaration of variables and functions
When writing code based on the C language, variables or functions are used. These are declared with definitions, and they need to be underst...
-
[C] 관계, 논리, 그리고 삼항연산자
c 언어에서 참/거짓은 각각 0이 아닌 값과 0에 대응된다. 연산자를 통해 참/거짓을 판단하는 조건 식은 주로 if, for, while 문에서 활용되며, 관계 및 논리 연산자를 통해 표현된다. 비교 연산자는 값의 크기를 비교하거나 값의 일치 여부를 ...