Siemens Interview Question

Normal basic questions related to oops and data structures