Capgemini Engineering interview question

about os concept and network layer string reverse program