Mphasis Interview Question

Basics of Java and C, was quite simple