"You'd be quick to point out (correctly) that the above
code wouldn't compile. It would fail with an error on the lines of
"assignment of read-only variable a" because a is now a "constant"
because of the const type qualifier attached to it. And now comes
the issue. Many start assuming (or might even be explicitly taught)
that the value of a cannot be changed now. Did you think so too?
Well, you thought wrong. Look at the following code:"
Some of the products that appear on this site are from companies from which QuinStreet receives compensation. This compensation may impact how and where products appear on this site including, for example, the order in which they appear. QuinStreet does not include all companies or all types of products available in the marketplace.