Zensar Technologies interview question

Basic technical question