Wabtec Interview Question

C++, oops concepts, logical and coding