HN
Hacker News
Top
New
Best
Ask
Show
Jobs
Comment by baby | Hacker News Reader
Parent
Full thread
baby
·
What's the difference between CONST and STATIC fundamentally?
View on HN
notpopcorn
·
A const is like a `#define` in C or C++, while a static is a global variable.
CryZe
·
If those terms mean anything to you: const is an rvalue, static is an lvalue.
Reply on news.ycombinator.com