I started to learn c++, and I\'m trying to understand the arrow feature in c++. I have this example code, but I\'m not getting the desired output.