DXC Technology interview question

Questions on oops, c++, some hr