DXC Technology interview question

Basic related questions