BILINGUAL WORD CARD · RANK 63

const

🔒 Locks a variable so it can never be modified

Declares an unmodifiable constant variable.

中文对照 · Chinese

🔒 焊死盖子的玻璃展示柜(只许看不许改)

比如圆周率 `const double PI = 3.14159;`,防止后面不小心改错。

Code example

const int DAYS = 7;
Explore 100 bilingual word cards →