#include <stdio.h>
// 변수: 변하는 수
// 상수: 변하지 않는 수
// 리터럴 상수: 이름이 없는 상수
// symbolic(const)상수: 이름이 있는 상수
int main() {
int num1 = 10 + 20; // 변수
num1 = 20;
const int NUM2 = 100; // 상수
num2 = 30; // 에러
return 0;
}
To embed this project on your website, copy the following code and paste it into your website's HTML: