RS Software interview question

IndiaBix simple question