Nagarro interview question

Basic concepts of programming.