Exercise
Let's test your knowledge of constness with this exercise.
Problem statement:
The following code shows undefined behavior due to const
variables that have been cast away. Remove the undefined behavior and make sure that m_a
is immutable.
Get hands-on with 1300+ tech skills courses.