Software AG interview question

1.SQL query statements 2. Output of code snippets 3. Heaps