3 ms·
Because you can do this at runtime. I might have a different value everytime I call the function but this means that inside the fucntion the compiler knows the
by excuse-me 15y ago
Because you can do this at runtime.
I might have a different value everytime I call the function but this means that inside the fucntion the compiler knows the value can't change
- gte910h 15y agoWhy ever use const at a file scope level. That's what I mean. #defines work SO much better there. Especially if being used outside the file.