結果 : different ways to create object in cpp