Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
baby
· 4y ago · 0 comments
What's the difference between CONST and STATIC fundamentally?
Comments
[–]
notpopcorn
4y ago
A const is like a `#define` in C or C++, while a static is a global variable.
[–]
CryZe
4y ago
If those terms mean anything to you: const is an rvalue, static is an lvalue.