cpp class access array member by different name

Solutions on MaxInterview for cpp class access array member by different name by the best coders in the world