+ 1
This actually creates 2 objects of your struct. a, which you created with S a A, which was created with ....}A; (at the end of the struct) therefore the constructor which prints s is running 2 times
15th Feb 2018, 1:11 PM
Alex
Alex - avatar