Mphasis Interview Question

1. Difference between structure and union? 2. Difference between the Interpreter and compiler? 3. What is encapsulation? 4. Write a code to find the largest Element in an array?