XcelTec interview question

Asked me too much basic question