I have made this for checking the overload of copy constructor, assignment operation and so on.
Just you change source code and check how it affect the result.
I recommend the following Compiler Explorer site.
(Because you can get a result instantly when you modify the code)