Amadeus interview question

Basic C/C++ questions, design patterns and data structures