Ad

Chapter - 3: Graduating to C++

Why is using const a better idea than an equivalent #define ?


Ad
D
Sections
7
Exercises

Because #define are always global while const can be global as well as local.

Ad

© 2024 Garbage Valuegarbage value logo