Share your repls and programming experiences

← Back to all posts
Day 4 of learning C++
ryanbrwr (33)

Today I learned about constants in C++, finally something familiar. There seem to be a ton of ways to define constants in C++, but const is the most practical. I wonder if there are any differences in the memory a constant int takes when compared to a normal int