A little sidebar about style.
Until recently, people wrote their const differently than we're doing now.
I've been showing you this, int const ci = 3.
This is called const after, or const on the right, or even east const.
That's what I'm doing throughout this course.
People used to write const before, const in ci = 3.
The compiler considers these to be the same.
However, when you start to mix and match,
indirection, pointers and references with const,
the const before style becomes really hard,
you have to do what's called inside-out reading.
When you use a const after style, it's really simple.
You just look what the const is after, and that's what's const.
So I'm going to show you entirely const after examples.
Remember that it's not about the compiler,
it's about the people who are reading and trying to understand your code,
and it's only a matter of style when you're just
declaring a local integer like this,
but it goes beyond style and into readability when you're combining const and indirection.