Zeus Learning Pvt. Ltd interview question

Mainly puzzles, Programs logic and syntax.