> Then why not just make it a #define? With "const" the diff is smaller.
> No need to waste the memory of a variable, right? I believe the compiler will produce the same binary for const and for #define if optimization is enabled.
> Then why not just make it a #define? With "const" the diff is smaller.
> No need to waste the memory of a variable, right? I believe the compiler will produce the same binary for const and for #define if optimization is enabled.