All Stories

[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 subsequent execution statement is executed, and ...

In C, Dec 06, 2020

[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 understood because they have different behaviors d...

In C, Dec 05, 2020

[C] Relational, logical, and ternary operators 관계, 논리, 그리고 삼항연산자

In c language, True / False corresponds to non-zero and zero, respectively. Conditional expressions that judge true/false through operators are mainly used in if, for, and while state...

In C, Dec 05, 2020

[C] Four arithmetic operations 사칙연산

In order to correctly perform the four arithmetic operations in the c language, it is necessary to understand the data types, operators, and operation precedence. Data types were disc...

In C, Dec 04, 2020

[C] scanf

scanf function also has a letter f ,formatted as printf meaning that it can specify the format. scanf function accepts input and is a standard library function like printf, so when us...

In C, Dec 03, 2020