Tag: c
All the articles with the tag "c".
-
[C] Array
In Data typeData type, a data type was declared for one variable and a value was assigned. However, it is very inefficient to declare 100 va...
-
[C] 배열
데이터 타입을 설명할 때, Data typeData type에서는 변수 한개에 대해 자료형을 선언하고 값을 대입했다. 하지만 100개의 값에 대해서 100개의 변수를 선언하는 것은 매우 비효율적이다. 이렇게 여러 값을 다루고자 할 때 배열을 사용한다....
-
[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...