□ Constant : Unchanging variable
○ The constant type is displayed on the left side of the variable type(C, C++, C# → const / java → final)
○ Numbers, characters, classes, and structures can all be constant
○ Ex. const struct student amy;
□ 상수(Constant) : 변하지 않는 변수○ Numbers, characters, classes, and structures can all be constant
○ Ex. const struct student amy;
○ 변수 타입 좌측에 상수임이 표시됨(C, C++, C# → const / java → final)
○ 숫자, 문자, 클래스, 구조체 모두 상수가 될 수 있음
○ Ex. const struct student amy;
○ 숫자, 문자, 클래스, 구조체 모두 상수가 될 수 있음
○ Ex. const struct student amy;
□ Literal : Unchanging data
○ Ex. "this is sparta!@#$"
□ 리터럴(Literal) : 변하지 않는 데이터
○ Ex. "this is sparta!@#$"