DXC Technology interview question

Question asked from oops and network